Suppress a spurious warning message when a kernel without INET6 is

used.

Spotted by:	ru
Reviewed by:	ume
MFC after:	3 days
This commit is contained in:
Hiroki Sato 2006-10-22 17:21:03 +00:00
parent e3af7c042c
commit e7bf82055f

View File

@ -15,7 +15,7 @@ stop_cmd=":"
auto_linklocal_start()
{
if ! checkyesno ipv6_enable; then
if ! checkyesno ipv6_enable && ${SYSCTL} net.inet6 > /dev/null 2>&1; then
${SYSCTL_W} net.inet6.ip6.auto_linklocal=0
fi
}