diff options
author | paul <paul> | 2004-10-11 11:00:30 +0000 |
---|---|---|
committer | paul <paul> | 2004-10-11 11:00:30 +0000 |
commit | 6c83567192ada1a66822c3f35580ce6a85f51ac9 (patch) | |
tree | 39ef09859fae79b7c7e234a671bf2e04f8e9264a /ospfd/ospfd.c | |
parent | 6b33361187feeb8c9c257ec149b4f75238af6c48 (diff) |
2004-10-11 Paul Jakma <paul@dishone.st>
* (global) Const char update and signed/unsigned fixes.
* (various headers) size defines should be unsigned.
* ospf_interface.h: remove duplicated defines, include the
authoritative header - though, these defines should probably
be moved to a dedicated header, or ospfd.h.
* ospf_lsa.h: (struct lsa) ls_seqnum should be unsigned.
* ospf_packet.c: (ospf_write) cast result of shift to unsigned.
Diffstat (limited to 'ospfd/ospfd.c')
-rw-r--r-- | ospfd/ospfd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ospfd/ospfd.c b/ospfd/ospfd.c index 6c6dd8de..0a988e0f 100644 --- a/ospfd/ospfd.c +++ b/ospfd/ospfd.c @@ -1172,7 +1172,7 @@ ospf_area_nssa_translator_role_unset (struct ospf *ospf, int ospf_area_export_list_set (struct ospf *ospf, - struct ospf_area *area, char *list_name) + struct ospf_area *area, const char *list_name) { struct access_list *list; list = access_list_lookup (AFI_IP, list_name); @@ -1207,8 +1207,8 @@ ospf_area_export_list_unset (struct ospf *ospf, struct ospf_area * area) } int -ospf_area_import_list_set (struct ospf *ospf, - struct ospf_area *area, char *name) +ospf_area_import_list_set (struct ospf *ospf, struct ospf_area *area, + const char *name) { struct access_list *list; list = access_list_lookup (AFI_IP, name); @@ -1565,7 +1565,7 @@ ospf_nbr_nbma_priority_unset (struct ospf *ospf, struct in_addr nbr_addr) int ospf_nbr_nbma_poll_interval_set (struct ospf *ospf, struct in_addr nbr_addr, - int interval) + unsigned int interval) { struct ospf_nbr_nbma *nbr_nbma; |