From 98b718a9d2aa7a3324c553944e26914fe090b87a Mon Sep 17 00:00:00 2001 From: hasso Date: Mon, 11 Oct 2004 12:57:57 +0000 Subject: Sync with changes in lib. Make more strings const. --- ripd/rip_zebra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ripd/rip_zebra.c') 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))) -- cgit v1.2.1