1 parent
d798b0cabb
commit
dac932f553
1 file changed
+3
-5
@@ -537,11 +537,9 @@ attach() {
|
|||||||
|
|
||||||
netnsenter ip link set $CONTAINER_IFNAME up || return 1
|
netnsenter ip link set $CONTAINER_IFNAME up || return 1
|
||||||
|
|
||||||
if [ -n "$NEW_ADDRS" ] ; then
|
for ADDR in $NEW_ADDRS ; do
|
||||||
for ADDR in "$NEW_ADDRS" ; do
|
arp_update $CONTAINER_IFNAME $ADDR "netnsenter"
|
||||||
arp_update $CONTAINER_IFNAME $ADDR "netnsenter"
|
done
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Route multicast packets across the weave network.
|
# Route multicast packets across the weave network.
|
||||||
# This must come last in 'attach'. If you change this, change weavewait to match.
|
# This must come last in 'attach'. If you change this, change weavewait to match.
|
||||||
|
|||||||
Reference in new issue
Block a user