From c5d5dd5fdc07239001cd853a9137091e6406d4c1 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Thu, 21 May 2015 05:46:07 +0100 Subject: [PATCH] consistency --- weave | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave b/weave index 4e2a50e6..dfe6c222 100755 --- a/weave +++ b/weave @@ -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