From: Jan Engelhardt Date: Mon, 12 Oct 2009 15:01:10 +0000 (+0200) Subject: pknock: shrink struct peer X-Git-Tag: v1.19~2^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6de54e5fcde605bb2a86d266124f4253561ce80c;p=thirdparty%2Fxtables-addons.git pknock: shrink struct peer --- diff --git a/extensions/pknock/xt_pknock.c b/extensions/pknock/xt_pknock.c index 429f487..4aad76f 100644 --- a/extensions/pknock/xt_pknock.c +++ b/extensions/pknock/xt_pknock.c @@ -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; }; /**