mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 12:45:13 +02:00
pknock: shrink struct peer
This commit is contained in:
@@ -49,11 +49,11 @@ enum status {
|
|||||||
struct peer {
|
struct peer {
|
||||||
struct list_head head;
|
struct list_head head;
|
||||||
__be32 ip;
|
__be32 ip;
|
||||||
uint8_t proto;
|
|
||||||
uint32_t accepted_knock_count;
|
uint32_t accepted_knock_count;
|
||||||
enum status status;
|
|
||||||
unsigned long timestamp;
|
unsigned long timestamp;
|
||||||
unsigned long login_sec;
|
unsigned long login_sec;
|
||||||
|
enum status status;
|
||||||
|
uint8_t proto;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user