fix 130_expose_test breakage

introduced by 8ac98f9f6b
This commit is contained in:
Matthias Radestock committed 2015-06-15 22:25:22 +01:00
1 parent 657cbaefb9
commit 0206434f62
1 file changed
+3 -1
+3 -1
View File
@@ -1166,7 +1166,9 @@ case "$COMMAND" in
arp_update $BRIDGE $CIDR
add_iptables_rule nat WEAVE -d $CIDR ! -s $CIDR -j MASQUERADE
add_iptables_rule nat WEAVE -s $CIDR ! -d $CIDR -j MASQUERADE
[ -n "$FQDN" ] && when_dns_running put_dns_fqdn 'weave:expose' $FQDN $CIDR
if [ -n "$FQDN" ] ; then
when_dns_running put_dns_fqdn 'weave:expose' $FQDN $CIDR
fi
fi
done
;;