Skip to content

Commit

Permalink
Workaround to fix ipset conflict with iptables
Browse files Browse the repository at this point in the history
Related to weaveworks#3847
  • Loading branch information
KevDBG authored Aug 20, 2020
1 parent 30ce219 commit 6971507
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prog/weave-kube/launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ xt_set_exists() {
fi
iptables -w -F WEAVE-KUBE-TEST
iptables -w -X WEAVE-KUBE-TEST
sleep 1
ipset destroy weave-kube-test
[ -z "$NOT_EXIST" ] || (echo "\"xt_set\" does not exist" >&2 && return 1)
}
Expand Down

0 comments on commit 6971507

Please sign in to comment.