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.
This commit is contained in:
Peter Wemm 2013-12-08 05:55:55 +00:00
parent 5dab84a07c
commit 3843e98991

View File

@ -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
}