]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
pknock: shrink struct peer
authorJan Engelhardt <jengelh@medozas.de>
Mon, 12 Oct 2009 15:01:10 +0000 (17:01 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Mon, 12 Oct 2009 15:01:10 +0000 (17:01 +0200)
extensions/pknock/xt_pknock.c

index 429f48753f4bbed18a7378cdad397e4f1863df3c..4aad76faa663cbaf414ae3dfe41cb026f7e00e89 100644 (file)
@@ -49,11 +49,11 @@ enum status {
 struct peer {
        struct list_head head;
        __be32 ip;
-       uint8_t proto;
        uint32_t accepted_knock_count;
-       enum status status;
        unsigned long timestamp;
        unsigned long login_sec;
+       enum status status;
+       uint8_t proto;
 };
 
 /**