From 76a974f88bcf1c9293a190834e047f6739fcd5ba Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Fri, 24 Oct 2014 16:07:06 +0100 Subject: [PATCH] refactor: maintain abstraction --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index 176461c5..3ab4bdbd 100755 --- a/weave +++ b/weave @@ -207,7 +207,7 @@ detach() { return 1 fi - if [ -n "$(ip netns exec $NETNS ip -f inet addr show dev ethwe)" ] ; then + if [ -n "$(ip netns exec $NETNS ip -f inet addr show dev $CONTAINER_IFNAME)" ] ; then # other addresses are left, leave the device alone return 0 fi