summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason D. McCormick <jason@mfamily.org>2022-09-27 09:23:34 -0400
committerJason D. McCormick <jason@mfamily.org>2022-09-27 09:23:34 -0400
commit34605bdf4af86b11f2152e9c3e30312680efab70 (patch)
treea10eaa6f6c090a91da8502272336378e52cecf82
parent8c9fc87bf43b770eddfa2548963663f1bd35c4f7 (diff)
fix rule swap
-rwxr-xr-xfirehol2nft3
1 files changed, 1 insertions, 2 deletions
diff --git a/firehol2nft b/firehol2nft
index 0bcfacf..4b93d73 100755
--- a/firehol2nft
+++ b/firehol2nft
@@ -14,8 +14,7 @@ if(! -f $opt_f){
exit 1;
}
-print "add table inet firehol\n";
-print "flush table inet firehol\n";
+print "delete table inet firehol\n";
print "add table inet firehol {\n";
print "\tset addr-set-firehol-drop {\n";
print "\t\ttype ipv4_addr\n";