pknock: "strict" and "checkip" flags were not displayed in iptables -L

This commit is contained in:
Jan Rafaj
2009-09-01 19:52:48 +02:00
committed by Jan Engelhardt
parent e05a4d9586
commit 0d8ae29a60
2 changed files with 7 additions and 0 deletions

View 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)

View 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)