ti 16. helmik. 2021 klo 22.35 Santiago Garcia Mantinan
([email protected]) kirjoitti:
> I have now assigned this bug to bridge-utils and I've got this patch that
> should solve it, can you test it on your machine and let me know if it fixes
> the problem?
>
> --- /lib/udev/bridge-network-interface~ 2021-02-16 20:59:36.397579972 +0100
> +++ /lib/udev/bridge-network-interface  2021-02-16 20:59:45.777222821 +0100
> @@ -30,6 +30,7 @@
>                                 create_vlan_port
>                                 if [ -d /sys/class/net/$port ]; then
>                                         ifup --allow auto $i
> +                                       if [ -f 
> /proc/sys/net/ipv6/conf/$port/disable_ipv6 ]; then echo 1 > 
> /proc/sys/net/ipv6/conf/$port/disable_ipv6;fi
>                                         brctl addif $i $port && ip link set 
> dev $port up &&
>                                         if [ "$(ifquery "$i"|sed -n 
> -e's/^bridge[_-]hw: //p')" = "$port" ]; then
>                                                 ip link set dev "$i" address 
> "$(ip link show dev "$port" 2>/dev/null|sed -n "s|.*link/ether \([^ ]*\) 
> brd.*|\1|p")"

This indeed prevents the superfluous fe80 address from appearing when
the dongle is plugged in after the bridge is already up. It doesn't
seem to affect traffic connecting via the dongle either.

Martin-Éric

Reply via email to