svn commit: r259094 - head/etc/rc.d
Peter Wemm
peter at FreeBSD.org
Sun Dec 8 05:55:56 UTC 2013
Author: peter
Date: Sun Dec 8 05:55:55 2013
New Revision: 259094
URL: http://svnweb.freebsd.org/changeset/base/259094
Log:
Rev 256256 had an undocumented side effect of breaking existing behavior
for ipv6 jails.
Among the harmful side effects included putting a route to an entire /64
onto an interface even if you were in a smaller network - eg: /80.
This broke the freebsd.org cluster hosted at ISC which has /80 networks.
Modified:
head/etc/rc.d/jail
Modified: head/etc/rc.d/jail
==============================================================================
--- head/etc/rc.d/jail Sun Dec 8 03:49:45 2013 (r259093)
+++ head/etc/rc.d/jail Sun Dec 8 05:55:55 2013 (r259094)
@@ -319,8 +319,8 @@ jail_extract_address()
_mask=${_mask:-/32}
elif [ "${_type}" = "inet6" ]; then
- # In case _maske is not set for IPv6, use /64.
- _mask=${_mask:-/64}
+ # In case _maske is not set for IPv6, use /128.
+ _mask=${_mask:-/128}
fi
}
More information about the svn-src-all
mailing list