to ospf6_network.h.
+2004-09-25 Hasso Tepper <hasso at estpak.ee>
+
+ * ospf6_asbr.c, ospf6_lsa.c, ospf6_proto.c, ospf6_proto.h: Fix
+ compiler warnings.
+
2004-09-23 Hasso Tepper <hasso at quagga.net>
* *.[c|h]: list -> struct list *, listnode -> struct listnode *.
}
void
-ospf6_asbr_routemap_update ()
+ospf6_asbr_routemap_update (char *mapname)
{
int type;
if (ospf6->rmap[type].name)
{
if (ospf6->rmap[type].map == NULL)
- ospf6_asbr_routemap_update ();
+ ospf6_asbr_routemap_update (NULL);
if (ospf6->rmap[type].map == NULL)
{
zlog_warn ("route-map \"%s\" not found, suppress redistributing",
u_char *start, *end, *current;
char byte[4];
- start = (char *) lsa->header + sizeof (struct ospf6_lsa_header);
- end = (char *) lsa->header + ntohs (lsa->header->length);
+ start = (u_char *) lsa->header + sizeof (struct ospf6_lsa_header);
+ end = (u_char *) lsa->header + ntohs (lsa->header->length);
vty_out (vty, " Unknown contents:%s", VNL);
for (current = start; current < end; current ++)
u_char *start, *end, *current;
char byte[4];
- start = (char *) lsa->header;
- end = (char *) lsa->header + ntohs (lsa->header->length);
+ start = (u_char *) lsa->header;
+ end = (u_char *) lsa->header + ntohs (lsa->header->length);
vty_out (vty, "%s", VNL);
vty_out (vty, "%s:%s", lsa->name, VNL);
lsa_header->checksum = 0;
length = ntohs (lsa_header->length) - 2;
- sp = (char *) &lsa_header->type;
+ sp = (u_char *) &lsa_header->type;
for (ep = sp + length; sp < ep; sp = q)
{
#include "log.h"
#include "memory.h"
#include "sockunion.h"
+#include "sockopt.h"
#include "privs.h"
#include "ospf6_proto.h"
}
void
-ospf6_options_printbuf (char *options, char *buf, int size)
+ospf6_options_printbuf (u_char *options, char *buf, int size)
{
char *dc, *r, *n, *mc, *e, *v6;
dc = (OSPF6_OPT_ISSET (options, OSPF6_OPT_DC) ? "DC" : "--");
void ospf6_prefix_options_printbuf (u_int8_t prefix_options,
char *buf, int size);
void ospf6_capability_printbuf (char capability, char *buf, int size);
-void ospf6_options_printbuf (char *options, char *buf, int size);
+void ospf6_options_printbuf (u_char *options, char *buf, int size);
#endif /* OSPF6_PROTO_H */