mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
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:
parent
e3af7c042c
commit
e7bf82055f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163609
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user