mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-15 17:14:57 +02:00
pknock: "strict" and "checkip" flags were not displayed in iptables -L
This commit is contained in:

committed by
Jan Engelhardt

parent
e05a4d9586
commit
0d8ae29a60
@@ -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)
|
||||
|
Reference in New Issue
Block a user