From 173fd4a2374c0c2be719ea5c4d7346cc0cac07f0 Mon Sep 17 00:00:00 2001 From: "/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org" Date: Mon, 30 Jul 2007 13:38:44 +0000 Subject: 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 --- extensions/libxt_SECMARK.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'extensions/libxt_SECMARK.c') diff --git a/extensions/libxt_SECMARK.c b/extensions/libxt_SECMARK.c index 38aaca9..8bf19bc 100644 --- a/extensions/libxt_SECMARK.c +++ b/extensions/libxt_SECMARK.c @@ -104,7 +104,6 @@ static void save(const void *ip, const struct xt_entry_target *target) } static struct xtables_target secmark = { - .next = NULL, .family = AF_INET, .name = "SECMARK", .version = IPTABLES_VERSION, @@ -121,7 +120,6 @@ static struct xtables_target secmark = { }; static struct xtables_target secmark6 = { - .next = NULL, .family = AF_INET6, .name = "SECMARK", .version = IPTABLES_VERSION, -- cgit v1.2.3