commit: 699636d47ce69ad2ada2748e4522447dc57aadf9 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Mon Oct 24 20:56:20 2016 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Mon Oct 24 20:56:20 2016 +0000 URL: https://gitweb.gentoo.org/proj/netifrc.git/commit/?id=699636d4
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 <AT> gentoo.org> net/iproute2.sh | 5 ----- 1 file changed, 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
