diff options
author | 2016-10-24 13:56:20 -0700 | |
---|---|---|
committer | 2016-10-24 13:56:20 -0700 | |
commit | 699636d47ce69ad2ada2748e4522447dc57aadf9 (patch) | |
tree | f2d7d21fd45949de6a67577d786c33282cc23a91 | |
parent | net.lo: Add metric to supported config variables (diff) | |
download | netifrc-699636d47ce69ad2ada2748e4522447dc57aadf9.tar.gz netifrc-699636d47ce69ad2ada2748e4522447dc57aadf9.tar.bz2 netifrc-699636d47ce69ad2ada2748e4522447dc57aadf9.zip |
net/iproute2: no automatic scope=host on loopback.
Busybox 'ip address add' does not support the 'scope' argument.
It DOES support the scope argument for 'ip address show', as well as all
of 'ip route'. The kernel does get automatic scope correct now, so drop
any automatic setting of scope to host when it was not otherwise
specified, and let the kernel make it's own decision.
X-Gentoo-Bug: 487208
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=487208
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | net/iproute2.sh | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/iproute2.sh b/net/iproute2.sh index 32d3c88..6efa2e7 100644 --- a/net/iproute2.sh +++ b/net/iproute2.sh @@ -162,11 +162,6 @@ _add_address() esac done - # Always scope lo addresses as host unless specified otherwise - if [ "${IFACE}" = "lo" ]; then - [ -z "$scope" ] && scope="host" - fi - # figure out the broadcast address if it is not specified # This must NOT be set for IPv6 addresses case $family in |