diff options
author | hasso <hasso> | 2004-10-11 12:57:57 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-11 12:57:57 +0000 |
commit | 1711cf69edcde5dfeaf833bea0594fe2ffbd9a0f (patch) | |
tree | dae18a3f3a5d3c078ddca771e771f707d4a6c1de /ripd/rip_zebra.c | |
parent | 993ae793113345587d2ced43b9f775b2bfef9ecf (diff) | |
download | quagga-1711cf69edcde5dfeaf833bea0594fe2ffbd9a0f.tar.bz2 quagga-1711cf69edcde5dfeaf833bea0594fe2ffbd9a0f.tar.xz |
Sync with changes in lib. Make more strings const.
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))) |