create bridge in 'weave expose/hide'
since they really need the bridge
This commit is contained in:
1 parent
1fac995248
commit
a53c817b8d
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user