send ARP update for *all* container IPs; not just the first one

This was missed in #498.
This commit is contained in:
Matthias Radestock committed 2015-08-05 13:35:35 +01:00
1 parent eee13e7dd9
commit 67aae051d6
1 file changed
+3 -1
+3 -1
View File
@@ -449,7 +449,9 @@ attach() {
netnsenter ip route add 224.0.0.0/4 dev $CONTAINER_IFNAME
fi
arp_update $CONTAINER_IFNAME $1 "netnsenter"
for ADDR in "$@" ; do
arp_update $CONTAINER_IFNAME $ADDR "netnsenter"
done
}
detach() {