svn commit: r260799 - user/ae/inet6/etc/rc.d
Andrey V. Elsukov
ae at FreeBSD.org
Fri Jan 17 01:23:31 UTC 2014
Author: ae
Date: Fri Jan 17 01:23:31 2014
New Revision: 260799
URL: http://svnweb.freebsd.org/changeset/base/260799
Log:
Do not install routes to LLA destinations.
Modified:
user/ae/inet6/etc/rc.d/routing
Modified: user/ae/inet6/etc/rc.d/routing
==============================================================================
--- user/ae/inet6/etc/rc.d/routing Fri Jan 17 01:15:34 2014 (r260798)
+++ user/ae/inet6/etc/rc.d/routing Fri Jan 17 01:23:31 2014 (r260799)
@@ -186,20 +186,11 @@ static_inet6()
# Add pre-defined static routes first.
ipv6_static_routes="_v4mapped _v4compat ${ipv6_static_routes}"
- ipv6_static_routes="_lla _llma ${ipv6_static_routes}"
# disallow "internal" addresses to appear on the wire
ipv6_route__v4mapped="::ffff:0.0.0.0 -prefixlen 96 ::1 -reject ${fibmod}"
ipv6_route__v4compat="::0.0.0.0 -prefixlen 96 ::1 -reject ${fibmod}"
- # Disallow link-local unicast packets without outgoing scope
- # identifiers. However, if you set "ipv6_default_interface",
- # for the host case, you will allow to omit the identifiers.
- # Under this configuration, the packets will go to the default
- # interface.
- ipv6_route__lla="fe80:: -prefixlen 10 ::1 -reject ${fibmod}"
- ipv6_route__llma="ff02:: -prefixlen 16 ::1 -reject ${fibmod}"
-
# Add default route.
case ${ipv6_defaultrouter} in
[Nn][Oo] | '')
More information about the svn-src-user
mailing list