summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_tcpmss.c
diff options
context:
space:
mode:
author/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-30 13:38:44 +0000
committer/C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org>2007-07-30 13:38:44 +0000
commit173fd4a2374c0c2be719ea5c4d7346cc0cac07f0 (patch)
tree4aaa03dfda3b22bad3c7f36fffb93a172f1473ea /extensions/libxt_tcpmss.c
parent5c9f7b01883d5cc1c07bf2813ff644468f373b3b (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_tcpmss.c')
-rw-r--r--extensions/libxt_tcpmss.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/extensions/libxt_tcpmss.c b/extensions/libxt_tcpmss.c
index db3dd90..4b421b2 100644
--- a/extensions/libxt_tcpmss.c
+++ b/extensions/libxt_tcpmss.c
@@ -133,7 +133,6 @@ save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match tcpmss = {
- .next = NULL,
.family = AF_INET,
.name = "tcpmss",
.version = IPTABLES_VERSION,
@@ -148,7 +147,6 @@ static struct xtables_match tcpmss = {
};
static struct xtables_match tcpmss6 = {
- .next = NULL,
.family = AF_INET6,
.name = "tcpmss",
.version = IPTABLES_VERSION,