[Bug 172521] [rc] service netif restart <interface> doesn't delete old IPv6 addresses

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 29 22:31:56 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=172521

Yann Kerherve <yannk at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yannk at apple.com

--- Comment #6 from Yann Kerherve <yannk at apple.com> ---
I believe the fix is:


--- a/etc/network.subr  2019-05-17 09:48:19.186776000 -0700
+++ b/etc/network.subr  2019-05-17 09:49:38.591154000 -0700
@@ -743,10 +743,6 @@
        _ifs="^"
        _ret=1

-       if ! ipv6if $_if; then
-               return 0
-       fi
-
        ipv6_accept_rtadv_down ${_if} && _ret=0
        ipv6_prefix_hostid_addr_common ${_if} -alias && _ret=0
        ifalias ${_if} inet6 -alias && _ret=0


ipv4_down doesn't check for ipv4 configs before tearing netif down, nor
should ipv6.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-rc mailing list