diff options
author | hasso <hasso> | 2004-10-08 06:32:23 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-08 06:32:23 +0000 |
commit | 7a1d583c02253c53605f310d1afcc9f1c8e15b7b (patch) | |
tree | 38652398c60620d195bb6b74f97ad4770af559e5 /ripngd/ripng_zebra.c | |
parent | 27a43a81004b620e571f71aa1ea4db182c607862 (diff) |
Only warning left is the known lvalue problem in ripng_nexthop.c.
Diffstat (limited to 'ripngd/ripng_zebra.c')
-rw-r--r-- | ripngd/ripng_zebra.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ripngd/ripng_zebra.c b/ripngd/ripng_zebra.c index 45ba2130..7aaa3537 100644 --- a/ripngd/ripng_zebra.c +++ b/ripngd/ripng_zebra.c @@ -207,7 +207,7 @@ ripng_redistribute_routemap_unset (int type) static struct { int type; int str_min_len; - char *str; + const char *str; } redist_type[] = { {ZEBRA_ROUTE_KERNEL, 1, "kernel"}, {ZEBRA_ROUTE_CONNECT, 1, "connected"}, @@ -484,8 +484,8 @@ void ripng_redistribute_write (struct vty *vty, int config_mode) { int i; - char *str[] = { "system", "kernel", "connected", "static", "rip", - "ripng", "ospf", "ospf6", "isis", "bgp"}; + const char *str[] = { "system", "kernel", "connected", "static", "rip", + "ripng", "ospf", "ospf6", "isis", "bgp"}; for (i = 0; i < ZEBRA_ROUTE_MAX; i++) if (i != zclient->redist_default && zclient->redist[i]) |