diff options
author | peter <peter@FreeBSD.org> | 2013-12-08 05:55:55 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2013-12-08 05:55:55 +0000 |
commit | 85bfe83c8bb5e6b90b29dabad436052a24da9c6a (patch) | |
tree | 66f64bc0f717720d89bf7c528436d96379107323 /etc/rc.d/jail | |
parent | af1fa864ede4c7c164a25e95e8f7ad7b44053a23 (diff) | |
download | FreeBSD-src-85bfe83c8bb5e6b90b29dabad436052a24da9c6a.zip FreeBSD-src-85bfe83c8bb5e6b90b29dabad436052a24da9c6a.tar.gz |
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.
Diffstat (limited to 'etc/rc.d/jail')
-rwxr-xr-x | etc/rc.d/jail | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/jail b/etc/rc.d/jail index fb91aaf..d8a88e4 100755 --- a/etc/rc.d/jail +++ b/etc/rc.d/jail @@ -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 } |