diff options
author | paul <paul> | 2004-10-11 11:28:44 +0000 |
---|---|---|
committer | paul <paul> | 2004-10-11 11:28:44 +0000 |
commit | 7cef2b912945dc36c2d2aea3beb5d2d73f51c8af (patch) | |
tree | 943626c902472edba0471dd168742c3ef66119ab /lib/routemap.c | |
parent | d646f87e1b6c784d55421f02fd270bf171d9928c (diff) | |
download | quagga-7cef2b912945dc36c2d2aea3beb5d2d73f51c8af.tar.bz2 quagga-7cef2b912945dc36c2d2aea3beb5d2d73f51c8af.tar.xz |
2004-10-11 Paul Jakma <paul@dishone.st>
* if.h: mtu's should be unsigned.
* routemap.{c,h}: const char updates
* smux.{c,h}: ditto
Diffstat (limited to 'lib/routemap.c')
-rw-r--r-- | lib/routemap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/routemap.c b/lib/routemap.c index cd231be7..cc63e3a1 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -489,7 +489,7 @@ route_map_rule_delete (struct route_map_rule_list *list, /* strcmp wrapper function which don't crush even argument is NULL. */ int -rulecmp (char *dst, char *src) +rulecmp (const char *dst, const char *src) { if (dst == NULL) { @@ -511,7 +511,7 @@ rulecmp (char *dst, char *src) /* Add match statement to route map. */ int route_map_add_match (struct route_map_index *index, const char *match_name, - char *match_arg) + const char *match_arg) { struct route_map_rule *rule; struct route_map_rule *next; @@ -570,7 +570,7 @@ route_map_add_match (struct route_map_index *index, const char *match_name, /* Delete specified route match rule. */ int route_map_delete_match (struct route_map_index *index, const char *match_name, - char *match_arg) + const char *match_arg) { struct route_map_rule *rule; struct route_map_rule_cmd *cmd; @@ -597,7 +597,7 @@ route_map_delete_match (struct route_map_index *index, const char *match_name, /* Add route-map set statement to the route map. */ int route_map_add_set (struct route_map_index *index, const char *set_name, - char *set_arg) + const char *set_arg) { struct route_map_rule *rule; struct route_map_rule *next; @@ -656,7 +656,7 @@ route_map_add_set (struct route_map_index *index, const char *set_name, /* Delete route map set rule. */ int route_map_delete_set (struct route_map_index *index, const char *set_name, - char *set_arg) + const char *set_arg) { struct route_map_rule *rule; struct route_map_rule_cmd *cmd; |