]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Handle kernels that don't have IPv6 by not sending an "ip6.addr"
authorJamie Gritton <jamie@FreeBSD.org>
Fri, 31 Jul 2009 14:30:06 +0000 (14:30 +0000)
committerJamie Gritton <jamie@FreeBSD.org>
Fri, 31 Jul 2009 14:30:06 +0000 (14:30 +0000)
commit843c277bfa726ca35ba227aaa69a95c6dbaac006
tree782bb8e8dc9f3950222c8a781815cef26907c985
parent87eca70e0cbba24c4004b6ccc6283f10ffc699c4
Handle kernels that don't have IPv6 by not sending an "ip6.addr"
parameter unless a (numeric) IPv6 address is given.  Even the default
binaries built with -DINET6 will work with IPv6-less kernels.  With an
eye to the future, similarly handle the possibility of an IPv4-less kernel.

Approved by: re (kib), bz (mentor)
usr.sbin/jail/jail.c