summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_recent.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2007-07-30 13:38:44 +0000
committerYasuyuki KOZAKAI <yasuyuki@netfilter.org>2007-07-30 13:38:44 +0000
commit18992db3bfdb3b695cae12b53434f560cbf8e2ae (patch)
tree4aaa03dfda3b22bad3c7f36fffb93a172f1473ea /extensions/libipt_recent.c
parent3365332f89bd0fa65cea60a38e46a20346ba9964 (diff)
Remove the .next=NULL field. This is automatically initialized to zero.
I've kept .print=NULL and .save=NULL so it stands out (since iptables will do the print/save then). Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libipt_recent.c')
-rw-r--r--extensions/libipt_recent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/extensions/libipt_recent.c b/extensions/libipt_recent.c
index 2c38ad33..38d58711 100644
--- a/extensions/libipt_recent.c
+++ b/extensions/libipt_recent.c
@@ -220,7 +220,6 @@ save(const void *ip, const struct xt_entry_match *match)
/* Structure for iptables to use to communicate with module */
static struct iptables_match recent = {
- .next = NULL,
.name = "recent",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_recent_info)),