diff options
Diffstat (limited to 'ripd/rip_zebra.c')
-rw-r--r-- | ripd/rip_zebra.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ripd/rip_zebra.c b/ripd/rip_zebra.c index 229fb33a..d66a7762 100644 --- a/ripd/rip_zebra.c +++ b/ripd/rip_zebra.c @@ -154,7 +154,7 @@ rip_zclient_reset () /* RIP route-map set for redistribution */ void -rip_routemap_set (int type, char *name) +rip_routemap_set (int type, const char *name) { if (rip->route_map[type].name) free(rip->route_map[type].name); @@ -184,7 +184,7 @@ rip_metric_unset (int type, unsigned int metric) /* RIP route-map unset for redistribution */ int -rip_routemap_unset (int type,char *name) +rip_routemap_unset (int type, const char *name) { if (! rip->route_map[type].name || (name != NULL && strcmp(rip->route_map[type].name,name))) |