diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-07-30 13:38:44 +0000 |
---|---|---|
committer | Yasuyuki KOZAKAI <yasuyuki@netfilter.org> | 2007-07-30 13:38:44 +0000 |
commit | 18992db3bfdb3b695cae12b53434f560cbf8e2ae (patch) | |
tree | 4aaa03dfda3b22bad3c7f36fffb93a172f1473ea /extensions/libxt_multiport.c | |
parent | 3365332f89bd0fa65cea60a38e46a20346ba9964 (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/libxt_multiport.c')
-rw-r--r-- | extensions/libxt_multiport.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/extensions/libxt_multiport.c b/extensions/libxt_multiport.c index 7d7c266a..274a5830 100644 --- a/extensions/libxt_multiport.c +++ b/extensions/libxt_multiport.c @@ -520,7 +520,6 @@ static void save6_v1(const void *ip_void, const struct xt_entry_match *match) } static struct xtables_match multiport = { - .next = NULL, .family = AF_INET, .name = "multiport", .revision = 0, @@ -537,7 +536,6 @@ static struct xtables_match multiport = { }; static struct xtables_match multiport6 = { - .next = NULL, .family = AF_INET6, .name = "multiport", .revision = 0, @@ -554,7 +552,6 @@ static struct xtables_match multiport6 = { }; static struct xtables_match multiport_v1 = { - .next = NULL, .family = AF_INET, .name = "multiport", .version = IPTABLES_VERSION, @@ -571,7 +568,6 @@ static struct xtables_match multiport_v1 = { }; static struct xtables_match multiport6_v1 = { - .next = NULL, .family = AF_INET6, .name = "multiport", .version = IPTABLES_VERSION, |