Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2019 22:31:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        rc@FreeBSD.org
Subject:   [Bug 172521] [rc] service netif restart <interface> doesn't delete old IPv6 addresses
Message-ID:  <bug-172521-20181-WqDLlIBPxS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-172521-20181@https.bugs.freebsd.org/bugzilla/>
References:  <bug-172521-20181@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

Yann Kerherve <yannk@apple.com> changed:

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

--- Comment #6 from Yann Kerherve <yannk@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-172521-20181-WqDLlIBPxS>