consistency

This commit is contained in:
Matthias Radestock committed 2015-05-21 05:46:07 +01:00
1 parent 6f68eb50aa
commit c5d5dd5fdc
1 file changed
+1 -1
+1 -1
View File
@@ -261,7 +261,7 @@ create_bridge() {
ip link set dev v${CONTAINER_IFNAME}du master $BRIDGE
ip link del dev v${CONTAINER_IFNAME}du
# Drop traffic from Docker bridge to Weave; it can break subnet isolation
run_iptables -t filter -I FORWARD -i $DOCKER_BRIDGE -o $BRIDGE -j DROP
add_iptables_rule filter FORWARD -i $DOCKER_BRIDGE -o $BRIDGE -j DROP
# Work around the situation where there are no rules allowing traffic
# across our bridge. E.g. ufw
add_iptables_rule filter FORWARD -i $BRIDGE -o $BRIDGE -j ACCEPT