From 122016c7443c062f1a82c299564a99294e3014f9 Mon Sep 17 00:00:00 2001 From: "David M. Syzdek" Date: Mon, 29 Jul 2019 14:44:46 -0800 Subject: Fixing flushing of ip6tables (was calling iptables for table names instead of ip6tables) --- src/bbfw.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bbfw.in b/src/bbfw.in index b03ff94..16ecd36 100755 --- a/src/bbfw.in +++ b/src/bbfw.in @@ -298,7 +298,7 @@ stop() { done 2> /dev/null # flushes ip6tables - for TABLE in $(iptables-save |grep '^*' |sed -e 's/^*//g' |sort);do + for TABLE in $(ip6tables-save |grep '^*' |sed -e 's/^*//g' |sort);do if test -z "${FW_QUIET}";then echo "Flushing rules from ${TABLE} table (IPv6)" fi -- cgit v1.2.3