diff options
author | paul <paul> | 2004-08-23 18:58:32 +0000 |
---|---|---|
committer | paul <paul> | 2004-08-23 18:58:32 +0000 |
commit | 1b3b0be0faa9ac4b0511dc4af134d06f2746795b (patch) | |
tree | 6024f01b3ed74e01e03b5e59e9c98955202378e0 /zebra/zserv.c | |
parent | 6b2f342d010bd55a5087883832511bc924bc1a79 (diff) | |
download | quagga-1b3b0be0faa9ac4b0511dc4af134d06f2746795b.tar.bz2 quagga-1b3b0be0faa9ac4b0511dc4af134d06f2746795b.tar.xz |
2004-08-23 Paul Jakma <paul@dishone.st>
* zebra/zserv.c: (zebra_init) remove implicit ip forward enabling
* NEWS: warn about forwarding change
Diffstat (limited to 'zebra/zserv.c')
-rw-r--r-- | zebra/zserv.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/zebra/zserv.c b/zebra/zserv.c index 3c582afb..4779b643 100644 --- a/zebra/zserv.c +++ b/zebra/zserv.c @@ -1676,11 +1676,11 @@ DEFUN (no_ipv6_forwarding, int config_write_forwarding (struct vty *vty) { - if (! ipforward ()) - vty_out (vty, "no ip forwarding%s", VTY_NEWLINE); + if (ipforward ()) + vty_out (vty, "ip forwarding%s", VTY_NEWLINE); #ifdef HAVE_IPV6 - if (! ipforward_ipv6 ()) - vty_out (vty, "no ipv6 forwarding%s", VTY_NEWLINE); + if (ipforward_ipv6 ()) + vty_out (vty, "ipv6 forwarding%s", VTY_NEWLINE); #endif /* HAVE_IPV6 */ vty_out (vty, "!%s", VTY_NEWLINE); return 0; @@ -1702,12 +1702,6 @@ zebra_init () /* Client list init. */ zebrad.client_list = list_new (); - /* Forwarding is on by default. */ - ipforward_on (); -#ifdef HAVE_IPV6 - ipforward_ipv6_on (); -#endif /* HAVE_IPV6 */ - /* Make zebra server socket. */ #ifdef HAVE_TCP_ZEBRA zebra_serv (); |