-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I've noticed that we do not install default route last (after other
static routes).  I think we should probably install it last, since the
administrator may legitimately configure a static route (e.g. this
IPv6 address goes to this interface) that is required by the default
route.

Cheers,
- -- 
Xin LI <delp...@delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (FreeBSD)

iQEcBAEBCgAGBQJSFnD/AAoJEG80Jeu8UPuzUx0H/20W31vhhHL56CtjIIGEfbVP
yutkQJf7u2VE2cmopqUyjULT82S6dRVkRLuKLjxwStI6zwpWBiBHaB+rWvH+m1Sc
VXSI9UT6ZYAxJBJ+4yl0R04qLhFxZqCahOP1YZq6LcKyD4p30hLzDnw3zPTZ1bpr
Lpy6ABZ4Ab7o8MrkKDZuRf4pvF9KATI3kbMX1xOs7Ds2NHGDkIxIX0t6knsdA5Is
uDw/pe4mzqLhgmYGDVqiSDp2mF/ATbYKPEu865fb/uitwFQhAKNbTe/Idlswdxck
KxwtlmPCdJgLmRKkqDAuG6QRAW5lLy+S4xtZsXAoM4TfSyM0/0DkryyooNgMQIY=
=TjQm
-----END PGP SIGNATURE-----
Index: etc/rc.d/routing
===================================================================
--- etc/rc.d/routing    (revision 254663)
+++ etc/rc.d/routing    (working copy)
@@ -143,7 +143,7 @@
        [Nn][Oo] | '')
                ;;
        *)
-               static_routes="_default ${static_routes}"
+               static_routes="${static_routes} _default"
                route__default="default ${defaultrouter}"
                ;;
        esac
@@ -205,7 +205,7 @@
        [Nn][Oo] | '')
                ;;
        *)
-               ipv6_static_routes="_default ${ipv6_static_routes}"
+               ipv6_static_routes="${ipv6_static_routes} _default"
                ipv6_route__default="default ${ipv6_defaultrouter}"
                ;;
        esac
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to