summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_quota.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/libxt_quota.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/libxt_quota.c')
-rw-r--r--extensions/libxt_quota.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/extensions/libxt_quota.c b/extensions/libxt_quota.c
index a273b290..f97f02cd 100644
--- a/extensions/libxt_quota.c
+++ b/extensions/libxt_quota.c
@@ -86,7 +86,6 @@ final_check(unsigned int flags)
}
struct xtables_match quota = {
- .next = NULL,
.family = AF_INET,
.name = "quota",
.version = IPTABLES_VERSION,
@@ -101,7 +100,6 @@ struct xtables_match quota = {
};
struct xtables_match quota6 = {
- .next = NULL,
.family = AF_INET6,
.name = "quota",
.version = IPTABLES_VERSION,