pknock: improve sizeof(struct ipt_pknock) by relayouting members

Stuffing struct holes as reported by pahole(1).
This commit is contained in:
Jan Engelhardt
2009-09-29 19:07:44 +02:00
parent afbeb2fb47
commit cee3d25d49

View File

@@ -34,10 +34,10 @@ struct ipt_pknock {
int open_secret_len;
char close_secret[IPT_PKNOCK_MAX_PASSWD_LEN + 1];
int close_secret_len;
uint8_t option; /* --time, --knock-port, ... */
uint8_t ports_count; /* number of ports */
uint16_t port[IPT_PKNOCK_MAX_PORTS]; /* port[,port,port,...] */
unsigned long max_time; /* max matching time between ports */
uint8_t option; /* --time, --knock-port, ... */
};
struct ipt_pknock_nl_msg {