diff options
author | gnn <gnn@FreeBSD.org> | 2006-10-02 10:13:30 +0000 |
---|---|---|
committer | gnn <gnn@FreeBSD.org> | 2006-10-02 10:13:30 +0000 |
commit | 3b143b31f6f6cacd8c87d75bd85914a229caa6be (patch) | |
tree | 6929e01f2949b2cf8707ffd3555b3dd8529a9464 /etc | |
parent | 230888a1f806217a00d1d503e7a1567f5b398576 (diff) | |
download | FreeBSD-src-3b143b31f6f6cacd8c87d75bd85914a229caa6be.zip FreeBSD-src-3b143b31f6f6cacd8c87d75bd85914a229caa6be.tar.gz |
Turn off automatic link local address if ipv6_enable is not set to YES
in rc.conf
Reviewed by: KAME core team, cperciva
MFC after: 3 days
Diffstat (limited to 'etc')
-rw-r--r-- | etc/network.subr | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/network.subr b/etc/network.subr index de2aaf4..ef344ae 100644 --- a/etc/network.subr +++ b/etc/network.subr @@ -41,6 +41,10 @@ ifconfig_up() { _cfg=1 + if checkyesno ipv6_enable; then + ${SYSCTL_W} net.inet6.ip6.auto_linklocal=1 + fi + ifconfig_args=`ifconfig_getargs $1` if [ -n "${ifconfig_args}" ]; then ifconfig $1 up |