From a53c817b8d0f33d2d78b5cfea651d8e6a959712e Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Sat, 13 Sep 2014 17:44:29 +0100 Subject: [PATCH] create bridge in 'weave expose/hide' since they really need the bridge --- weaver/weave | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weaver/weave b/weaver/weave index 503144aa..f4f87fe9 100755 --- a/weaver/weave +++ b/weaver/weave @@ -135,6 +135,7 @@ case "$COMMAND" in [ $# -gt 0 ] || usage IPADDR=$1 shift 1 + create_bridge if ! ip addr list dev $BRIDGE | grep -qF $IPADDR then ip addr add dev $BRIDGE $IPADDR @@ -145,6 +146,7 @@ case "$COMMAND" in [ $# -gt 0 ] || usage IPADDR=$1 shift 1 + create_bridge if ip addr list dev $BRIDGE | grep -qF $IPADDR then ip addr del dev $BRIDGE $IPADDR