mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 21:25:12 +02:00
pknock: improve sizeof(struct ipt_pknock) by using "even" field sizes
The field sizes were 33, which makes for lots of padding holes.
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
#define IPT_PKNOCK_CLOSESECRET 0x40
|
||||
|
||||
#define IPT_PKNOCK_MAX_PORTS 15
|
||||
#define IPT_PKNOCK_MAX_BUF_LEN 32
|
||||
#define IPT_PKNOCK_MAX_PASSWD_LEN 32
|
||||
#define IPT_PKNOCK_MAX_BUF_LEN 31
|
||||
#define IPT_PKNOCK_MAX_PASSWD_LEN 31
|
||||
|
||||
#define DEBUG 1
|
||||
|
||||
|
Reference in New Issue
Block a user