summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_message.h
diff options
context:
space:
mode:
authorpaul <paul>2004-10-10 14:54:58 +0200
committerpaul <paul>2004-10-10 14:54:58 +0200
commit0c083ee9d870bf02a36563ae1807f3894ac24219 (patch)
tree04315c9103131381b9ca5e1d576e27a1f22d0da1 /ospf6d/ospf6_message.h
parent2004-10-10 Paul Jakma <paul@dishone.st> (diff)
downloadfrr-0c083ee9d870bf02a36563ae1807f3894ac24219.tar.xz
frr-0c083ee9d870bf02a36563ae1807f3894ac24219.zip
2004-10-10 Paul Jakma <paul@dishone.st>
* ospf6_route.c: Add const qualifier to various char arrays of constants. signed/unsigned fixes. (ospf6_linkstate_table_show) argv is const * ospf6_snmp.c: listnode typedef is dead. (ospf6_snmp_init) Take struct thread_master arg, needed for smux_init. * ospf6_snmp.h: update ospf6_snmp_init declaration. * ospf6d.c: (ospf6_init) add const qualifier to sargv, pass master to ospf_snmp6_init. * ospf6_asbr.c: const char update. * ospf6_interface.c: ditto, plus signed/unsigned fixes. (ipv6_ospf6_cost) Check whether cost fits in u_int32_t and use strtoul. * ospf6_intra.c: const char update. Parenthesise expression. * ospf6_lsa.c: signed/unsigned and const char updates. * ospf6_proto.c: ditto. * ospf6_message.c: ditto. * ospf6_lsdb.c: signed/unsigned update. * ospf6_main.c: const char update. * ospf6_neighbor.c: ditto. * ospf6_spf.c: ditto. * ospf6_top.c: ditto.
Diffstat (limited to 'ospf6d/ospf6_message.h')
-rw-r--r--ospf6d/ospf6_message.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ospf6d/ospf6_message.h b/ospf6d/ospf6_message.h
index 186fc74bc..95b07ced5 100644
--- a/ospf6d/ospf6_message.h
+++ b/ospf6d/ospf6_message.h
@@ -47,7 +47,7 @@ extern unsigned char conf_debug_ospf6_message[];
#define OSPF6_MESSAGE_TYPE_CANONICAL(T) \
((T) > OSPF6_MESSAGE_TYPE_LSACK ? OSPF6_MESSAGE_TYPE_UNKNOWN : (T))
-extern char *ospf6_message_type_str[];
+extern const char *ospf6_message_type_str[];
#define OSPF6_MESSAGE_TYPE_NAME(T) \
(ospf6_message_type_str[ OSPF6_MESSAGE_TYPE_CANONICAL (T) ])
@@ -122,7 +122,7 @@ void ospf6_lsreq_print (struct ospf6_header *);
void ospf6_lsupdate_print (struct ospf6_header *);
void ospf6_lsack_print (struct ospf6_header *);
-int ospf6_iobuf_size (int size);
+int ospf6_iobuf_size (unsigned int size);
int ospf6_receive (struct thread *thread);
int ospf6_hello_send (struct thread *thread);