summaryrefslogtreecommitdiffstats
path: root/ripd/rip_zebra.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-11 12:57:57 +0000
committerhasso <hasso>2004-10-11 12:57:57 +0000
commit98b718a9d2aa7a3324c553944e26914fe090b87a (patch)
tree13a7002a3265a2debfa411a2a2c544dbde972f0a /ripd/rip_zebra.c
parenta149411b85bbe74cde47d82193026b9401b29de0 (diff)
downloadquagga-98b718a9d2aa7a3324c553944e26914fe090b87a.tar.bz2
quagga-98b718a9d2aa7a3324c553944e26914fe090b87a.tar.xz
Sync with changes in lib. Make more strings const.
Diffstat (limited to 'ripd/rip_zebra.c')
-rw-r--r--ripd/rip_zebra.c4
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)))