]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
pknock: "strict" and "checkip" flags were not displayed in `iptables -L`
authorJan Rafaj <jr+netfilter-devel@cedric.unob.cz>
Tue, 1 Sep 2009 17:52:48 +0000 (19:52 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Sat, 3 Oct 2009 22:42:13 +0000 (00:42 +0200)
doc/changelog.txt
extensions/libxt_pknock.c

index 8e95275f7e17a6a97f0cd3b5c06a228c84294fcd..dc96fa5d238f026057036a46b54e07afaf5f112e 100644 (file)
@@ -1,6 +1,9 @@
 
 
 - build: compile fixes for 2.6.31-rt
+- added reworked xt_pknock module
+  Changes from pknock v0.5:
+  - pknock: "strict" and "checkip" flags were not displayed in `iptables -L`
 
 
 Xtables-addons 1.18 (September 09 2009)
index b3b6c5f03f4a40dfead488fb98c03bacf840d498..412e2919df978923ad4f3bba1a47e96839ea7c50 100644 (file)
@@ -290,6 +290,10 @@ static void pknock_mt_print(const void *ip,
                printf("opensecret ");
        if (info->option & XT_PKNOCK_CLOSESECRET)
                printf("closesecret ");
+       if (info->option & XT_PKNOCK_STRICT)
+               printf("strict ");
+       if (info->option & XT_PKNOCK_CHECKIP)
+               printf("checkip ");
 }
 
 static void pknock_mt_save(const void *ip, const struct xt_entry_match *match)