]> git.puffer.fish Git - mirror/frr.git/commitdiff
2004-08-23 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Mon, 23 Aug 2004 18:58:32 +0000 (18:58 +0000)
committerpaul <paul>
Mon, 23 Aug 2004 18:58:32 +0000 (18:58 +0000)
        * zebra/zserv.c: (zebra_init) remove implicit ip forward enabling
        * NEWS: warn about forwarding change

NEWS
zebra/ChangeLog
zebra/zserv.c

diff --git a/NEWS b/NEWS
index 3e7047483c5d9755e57b544247619e1489b6b69d..174a4909e4ed860dd41774efabad39b2ce8391af 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,9 @@
 * Changes in Quagga 0.96.6
 
+- Zebra no longer enables forwarding by default. If you rely on zebra to
+  enable forwarding make sure to add '<ip|ip6> forwarding' statements
+  to your zebra configuration file.
+
 - All libraries are built and used shared, on platforms where libtool
   supports shared libraries.
 
index 0b54f29a63cdafdc3fa8fb1170714290edc5c552..82cc951b1e55b3bfac2903148f06d3a2fd640e60 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-23 Paul Jakma <paul@dishone.st>
+
+       * zserv.c: (zebra_init) remove implicit ip forward enabling
+       
 2004-08-19 Paul Jakma <paul@dishone.st>
 
         * irdp_main.c: update to match sockopt renames.
index 3c582afb7724687a1655473d97b66eaac2c2d855..4779b64307cce69df8b9dc860799d0c1877a89d8 100644 (file)
@@ -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 ();