summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/libip6t_TRACE.c2
-rw-r--r--extensions/libip6t_state.c1
-rw-r--r--extensions/libipt_CLASSIFY.c1
-rw-r--r--extensions/libipt_CLUSTERIP.c1
-rw-r--r--extensions/libipt_CONNSECMARK.c1
-rw-r--r--extensions/libipt_DNAT.c1
-rw-r--r--extensions/libipt_DSCP.c1
-rw-r--r--extensions/libipt_ECN.c1
-rw-r--r--extensions/libipt_MARK.c2
-rw-r--r--extensions/libipt_MIRROR.c1
-rw-r--r--extensions/libipt_NETMAP.c1
-rw-r--r--extensions/libipt_REDIRECT.c1
-rw-r--r--extensions/libipt_REJECT.c1
-rw-r--r--extensions/libipt_SAME.c1
-rw-r--r--extensions/libipt_SNAT.c1
-rw-r--r--extensions/libipt_TOS.c1
-rw-r--r--extensions/libipt_TRACE.c2
-rw-r--r--extensions/libipt_ULOG.c1
-rw-r--r--extensions/libipt_addrtype.c1
-rw-r--r--extensions/libipt_ah.c1
-rw-r--r--extensions/libipt_connbytes.c1
-rw-r--r--extensions/libipt_connrate.c1
-rw-r--r--extensions/libipt_conntrack.c1
-rw-r--r--extensions/libipt_helper.c1
-rw-r--r--extensions/libipt_icmp.c1
-rw-r--r--extensions/libipt_iprange.c1
-rw-r--r--extensions/libipt_owner.c1
-rw-r--r--extensions/libipt_recent.c1
-rw-r--r--extensions/libipt_state.c1
-rw-r--r--extensions/libipt_tos.c1
-rw-r--r--extensions/libipt_ttl.c1
-rw-r--r--extensions/libipt_unclean.c1
-rw-r--r--extensions/libxt_NFQUEUE.c2
-rw-r--r--extensions/libxt_SECMARK.c2
-rw-r--r--extensions/libxt_TCPMSS.c2
-rw-r--r--extensions/libxt_comment.c2
-rw-r--r--extensions/libxt_dscp.c2
-rw-r--r--extensions/libxt_esp.c2
-rw-r--r--extensions/libxt_length.c2
-rw-r--r--extensions/libxt_limit.c2
-rw-r--r--extensions/libxt_mac.c2
-rw-r--r--extensions/libxt_mark.c2
-rw-r--r--extensions/libxt_multiport.c4
-rw-r--r--extensions/libxt_physdev.c2
-rw-r--r--extensions/libxt_pkttype.c2
-rw-r--r--extensions/libxt_quota.c2
-rw-r--r--extensions/libxt_standard.c2
-rw-r--r--extensions/libxt_tcp.c2
-rw-r--r--extensions/libxt_tcpmss.c2
-rw-r--r--extensions/libxt_udp.c2
50 files changed, 2 insertions, 71 deletions
diff --git a/extensions/libip6t_TRACE.c b/extensions/libip6t_TRACE.c
index 2fc786fb..edbb416c 100644
--- a/extensions/libip6t_TRACE.c
+++ b/extensions/libip6t_TRACE.c
@@ -43,7 +43,7 @@ final_check(unsigned int flags)
static
struct ip6tables_target trace
-= { .next = NULL,
+= {
.name = "TRACE",
.version = IPTABLES_VERSION,
.size = IP6T_ALIGN(0),
diff --git a/extensions/libip6t_state.c b/extensions/libip6t_state.c
index 01647a6f..b7c25172 100644
--- a/extensions/libip6t_state.c
+++ b/extensions/libip6t_state.c
@@ -144,7 +144,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct ip6tables_match state = {
- .next = NULL,
.name = "state",
.version = IPTABLES_VERSION,
.size = IP6T_ALIGN(sizeof(struct ipt_state_info)),
diff --git a/extensions/libipt_CLASSIFY.c b/extensions/libipt_CLASSIFY.c
index 16e47ac5..044ea959 100644
--- a/extensions/libipt_CLASSIFY.c
+++ b/extensions/libipt_CLASSIFY.c
@@ -109,7 +109,6 @@ save(const void *ip, const struct xt_entry_target *target)
}
static struct iptables_target classify = {
- .next = NULL,
.name = "CLASSIFY",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_classify_target_info)),
diff --git a/extensions/libipt_CLUSTERIP.c b/extensions/libipt_CLUSTERIP.c
index 036a98e3..30ae3bfc 100644
--- a/extensions/libipt_CLUSTERIP.c
+++ b/extensions/libipt_CLUSTERIP.c
@@ -248,7 +248,6 @@ save(const void *ip, const struct xt_entry_target *target)
}
static struct iptables_target clusterip = {
- .next = NULL,
.name = "CLUSTERIP",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_clusterip_tgt_info)),
diff --git a/extensions/libipt_CONNSECMARK.c b/extensions/libipt_CONNSECMARK.c
index bb6fb282..191cd9ad 100644
--- a/extensions/libipt_CONNSECMARK.c
+++ b/extensions/libipt_CONNSECMARK.c
@@ -106,7 +106,6 @@ static void save(const void *ip, const struct xt_entry_target *target)
}
static struct iptables_target connsecmark = {
- .next = NULL,
.name = "CONNSECMARK",
.version = IPTABLES_VERSION,
.revision = 0,
diff --git a/extensions/libipt_DNAT.c b/extensions/libipt_DNAT.c
index 21b79ad8..0d787637 100644
--- a/extensions/libipt_DNAT.c
+++ b/extensions/libipt_DNAT.c
@@ -249,7 +249,6 @@ save(const void *ip, const struct xt_entry_target *target)
}
static struct iptables_target dnat = {
- .next = NULL,
.name = "DNAT",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
diff --git a/extensions/libipt_DSCP.c b/extensions/libipt_DSCP.c
index 8845af22..b1a0df0f 100644
--- a/extensions/libipt_DSCP.c
+++ b/extensions/libipt_DSCP.c
@@ -144,7 +144,6 @@ save(const void *ip, const struct xt_entry_target *target)
}
static struct iptables_target dscp = {
- .next = NULL,
.name = "DSCP",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_DSCP_info)),
diff --git a/extensions/libipt_ECN.c b/extensions/libipt_ECN.c
index ce808aac..7c6c2939 100644
--- a/extensions/libipt_ECN.c
+++ b/extensions/libipt_ECN.c
@@ -165,7 +165,6 @@ save(const void *ip, const struct xt_entry_target *target)
static
struct iptables_target ecn = {
- .next = NULL,
.name = "ECN",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_ECN_info)),
diff --git a/extensions/libipt_MARK.c b/extensions/libipt_MARK.c
index 62329ab5..6a947182 100644
--- a/extensions/libipt_MARK.c
+++ b/extensions/libipt_MARK.c
@@ -187,7 +187,6 @@ save_v1(const void *ip, const struct xt_entry_target *target)
static
struct iptables_target mark_v0 = {
- .next = NULL,
.name = "MARK",
.version = IPTABLES_VERSION,
.revision = 0,
@@ -204,7 +203,6 @@ struct iptables_target mark_v0 = {
static
struct iptables_target mark_v1 = {
- .next = NULL,
.name = "MARK",
.version = IPTABLES_VERSION,
.revision = 1,
diff --git a/extensions/libipt_MIRROR.c b/extensions/libipt_MIRROR.c
index c02807b9..02923b8c 100644
--- a/extensions/libipt_MIRROR.c
+++ b/extensions/libipt_MIRROR.c
@@ -42,7 +42,6 @@ final_check(unsigned int flags)
}
static struct iptables_target mirror = {
- .next = NULL,
.name = "MIRROR",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(0),
diff --git a/extensions/libipt_NETMAP.c b/extensions/libipt_NETMAP.c
index d296d311..302448f6 100644
--- a/extensions/libipt_NETMAP.c
+++ b/extensions/libipt_NETMAP.c
@@ -178,7 +178,6 @@ save(const void *ip, const struct xt_entry_target *target)
}
static struct iptables_target target_module = {
- .next = NULL,
.name = MODULENAME,
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
diff --git a/extensions/libipt_REDIRECT.c b/extensions/libipt_REDIRECT.c
index ee42eb7e..0aff8be8 100644
--- a/extensions/libipt_REDIRECT.c
+++ b/extensions/libipt_REDIRECT.c
@@ -170,7 +170,6 @@ save(const void *ip, const struct xt_entry_target *target)
}
static struct iptables_target redir = {
- .next = NULL,
.name = "REDIRECT",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
diff --git a/extensions/libipt_REJECT.c b/extensions/libipt_REJECT.c
index d41603fc..4e083f39 100644
--- a/extensions/libipt_REJECT.c
+++ b/extensions/libipt_REJECT.c
@@ -169,7 +169,6 @@ static void save(const void *ip, const struct xt_entry_target *target)
}
static struct iptables_target reject = {
- .next = NULL,
.name = "REJECT",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_reject_info)),
diff --git a/extensions/libipt_SAME.c b/extensions/libipt_SAME.c
index 83ab7cd1..b14c5016 100644
--- a/extensions/libipt_SAME.c
+++ b/extensions/libipt_SAME.c
@@ -216,7 +216,6 @@ save(const void *ip, const struct xt_entry_target *target)
}
static struct iptables_target same = {
- .next = NULL,
.name = "SAME",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_same_info)),
diff --git a/extensions/libipt_SNAT.c b/extensions/libipt_SNAT.c
index ead5ab80..a18e36a9 100644
--- a/extensions/libipt_SNAT.c
+++ b/extensions/libipt_SNAT.c
@@ -251,7 +251,6 @@ save(const void *ip, const struct xt_entry_target *target)
}
static struct iptables_target snat = {
- .next = NULL,
.name = "SNAT",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
diff --git a/extensions/libipt_TOS.c b/extensions/libipt_TOS.c
index 1143c0c3..b1e7186a 100644
--- a/extensions/libipt_TOS.c
+++ b/extensions/libipt_TOS.c
@@ -154,7 +154,6 @@ save(const void *ip, const struct xt_entry_target *target)
}
static struct iptables_target tos = {
- .next = NULL,
.name = "TOS",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_tos_target_info)),
diff --git a/extensions/libipt_TRACE.c b/extensions/libipt_TRACE.c
index f2a5d328..22652cb6 100644
--- a/extensions/libipt_TRACE.c
+++ b/extensions/libipt_TRACE.c
@@ -43,7 +43,7 @@ final_check(unsigned int flags)
static
struct iptables_target trace
-= { .next = NULL,
+= {
.name = "TRACE",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(0),
diff --git a/extensions/libipt_ULOG.c b/extensions/libipt_ULOG.c
index cf1dd4f5..88fc16d9 100644
--- a/extensions/libipt_ULOG.c
+++ b/extensions/libipt_ULOG.c
@@ -193,7 +193,6 @@ print(const void *ip,
}
static struct iptables_target ulog = {
- .next = NULL,
.name = "ULOG",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_ulog_info)),
diff --git a/extensions/libipt_addrtype.c b/extensions/libipt_addrtype.c
index 144a702e..ed8b2046 100644
--- a/extensions/libipt_addrtype.c
+++ b/extensions/libipt_addrtype.c
@@ -187,7 +187,6 @@ static struct option opts[] = {
static
struct iptables_match addrtype = {
- .next = NULL,
.name = "addrtype",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_addrtype_info)),
diff --git a/extensions/libipt_ah.c b/extensions/libipt_ah.c
index ec01f822..3bc2d8d8 100644
--- a/extensions/libipt_ah.c
+++ b/extensions/libipt_ah.c
@@ -169,7 +169,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct iptables_match ah = {
- .next = NULL,
.name = "ah",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_ah)),
diff --git a/extensions/libipt_connbytes.c b/extensions/libipt_connbytes.c
index 69b39bdd..9b40d5a5 100644
--- a/extensions/libipt_connbytes.c
+++ b/extensions/libipt_connbytes.c
@@ -186,7 +186,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct iptables_match state = {
- .next = NULL,
.name = "connbytes",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_connbytes_info)),
diff --git a/extensions/libipt_connrate.c b/extensions/libipt_connrate.c
index 27920500..9a7563e2 100644
--- a/extensions/libipt_connrate.c
+++ b/extensions/libipt_connrate.c
@@ -160,7 +160,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct iptables_match state = {
- .next = NULL,
.name = "connrate",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_connrate_info)),
diff --git a/extensions/libipt_conntrack.c b/extensions/libipt_conntrack.c
index 15d42649..b50a58bb 100644
--- a/extensions/libipt_conntrack.c
+++ b/extensions/libipt_conntrack.c
@@ -505,7 +505,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct iptables_match conntrack = {
- .next = NULL,
.name = "conntrack",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_conntrack_info)),
diff --git a/extensions/libipt_helper.c b/extensions/libipt_helper.c
index 3c1c739d..e5772555 100644
--- a/extensions/libipt_helper.c
+++ b/extensions/libipt_helper.c
@@ -83,7 +83,6 @@ save(const void *ip, const struct xt_entry_match *match)
}
static struct iptables_match helper = {
- .next = NULL,
.name = "helper",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_helper_info)),
diff --git a/extensions/libipt_icmp.c b/extensions/libipt_icmp.c
index 4cbccd54..21da4ea1 100644
--- a/extensions/libipt_icmp.c
+++ b/extensions/libipt_icmp.c
@@ -287,7 +287,6 @@ static void final_check(unsigned int flags)
}
static struct iptables_match icmp = {
- .next = NULL,
.name = "icmp",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_icmp)),
diff --git a/extensions/libipt_iprange.c b/extensions/libipt_iprange.c
index 78096e12..3a039b12 100644
--- a/extensions/libipt_iprange.c
+++ b/extensions/libipt_iprange.c
@@ -165,7 +165,6 @@ save(const void *ip, const struct xt_entry_match *match)
}
static struct iptables_match iprange = {
- .next = NULL,
.name = "iprange",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_iprange_info)),
diff --git a/extensions/libipt_owner.c b/extensions/libipt_owner.c
index b65a15cb..c7217743 100644
--- a/extensions/libipt_owner.c
+++ b/extensions/libipt_owner.c
@@ -231,7 +231,6 @@ save(const void *ip, const struct xt_entry_match *match)
}
static struct iptables_match owner = {
- .next = NULL,
.name = "owner",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_owner_info)),
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)),
diff --git a/extensions/libipt_state.c b/extensions/libipt_state.c
index fcfee463..a6d9dc37 100644
--- a/extensions/libipt_state.c
+++ b/extensions/libipt_state.c
@@ -144,7 +144,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct iptables_match state = {
- .next = NULL,
.name = "state",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_state_info)),
diff --git a/extensions/libipt_tos.c b/extensions/libipt_tos.c
index 6ee1abcd..efc216c4 100644
--- a/extensions/libipt_tos.c
+++ b/extensions/libipt_tos.c
@@ -153,7 +153,6 @@ save(const void *ip, const struct xt_entry_match *match)
}
static struct iptables_match tos = {
- .next = NULL,
.name = "tos",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_tos_info)),
diff --git a/extensions/libipt_ttl.c b/extensions/libipt_ttl.c
index 79bddca2..5409deec 100644
--- a/extensions/libipt_ttl.c
+++ b/extensions/libipt_ttl.c
@@ -152,7 +152,6 @@ static struct option opts[] = {
};
static struct iptables_match ttl = {
- .next = NULL,
.name = "ttl",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(sizeof(struct ipt_ttl_info)),
diff --git a/extensions/libipt_unclean.c b/extensions/libipt_unclean.c
index 2af14424..8bb29634 100644
--- a/extensions/libipt_unclean.c
+++ b/extensions/libipt_unclean.c
@@ -35,7 +35,6 @@ static void final_check(unsigned int flags)
static
struct iptables_match unclean = {
- .next = NULL,
.name = "unclean",
.version = IPTABLES_VERSION,
.size = IPT_ALIGN(0),
diff --git a/extensions/libxt_NFQUEUE.c b/extensions/libxt_NFQUEUE.c
index 558e80b2..7b3dcecc 100644
--- a/extensions/libxt_NFQUEUE.c
+++ b/extensions/libxt_NFQUEUE.c
@@ -94,7 +94,6 @@ save(const void *ip, const struct xt_entry_target *target)
}
static struct xtables_target nfqueue = {
- .next = NULL,
.family = AF_INET,
.name = "NFQUEUE",
.version = IPTABLES_VERSION,
@@ -110,7 +109,6 @@ static struct xtables_target nfqueue = {
};
static struct xtables_target nfqueue6 = {
- .next = NULL,
.family = AF_INET6,
.name = "NFQUEUE",
.version = IPTABLES_VERSION,
diff --git a/extensions/libxt_SECMARK.c b/extensions/libxt_SECMARK.c
index 38aaca9b..8bf19bce 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,
diff --git a/extensions/libxt_TCPMSS.c b/extensions/libxt_TCPMSS.c
index d5b6c1f0..cd2fc420 100644
--- a/extensions/libxt_TCPMSS.c
+++ b/extensions/libxt_TCPMSS.c
@@ -140,7 +140,6 @@ save(const void *ip, const struct xt_entry_target *target)
}
static struct xtables_target mss = {
- .next = NULL,
.family = AF_INET,
.name = "TCPMSS",
.version = IPTABLES_VERSION,
@@ -156,7 +155,6 @@ static struct xtables_target mss = {
};
static struct xtables_target mss6 = {
- .next = NULL,
.family = AF_INET6,
.name = "TCPMSS",
.version = IPTABLES_VERSION,
diff --git a/extensions/libxt_comment.c b/extensions/libxt_comment.c
index 9a0c9605..770a3ec5 100644
--- a/extensions/libxt_comment.c
+++ b/extensions/libxt_comment.c
@@ -100,7 +100,6 @@ save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match comment = {
- .next = NULL,
.family = AF_INET,
.name = "comment",
.version = IPTABLES_VERSION,
@@ -115,7 +114,6 @@ static struct xtables_match comment = {
};
static struct xtables_match comment6 = {
- .next = NULL,
.family = AF_INET6,
.name = "comment",
.version = IPTABLES_VERSION,
diff --git a/extensions/libxt_dscp.c b/extensions/libxt_dscp.c
index 8ca74443..3f5f6c64 100644
--- a/extensions/libxt_dscp.c
+++ b/extensions/libxt_dscp.c
@@ -153,7 +153,6 @@ save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match dscp = {
- .next = NULL,
.family = AF_INET,
.name = "dscp",
.version = IPTABLES_VERSION,
@@ -168,7 +167,6 @@ static struct xtables_match dscp = {
};
static struct xtables_match dscp6 = {
- .next = NULL,
.family = AF_INET6,
.name = "dscp",
.version = IPTABLES_VERSION,
diff --git a/extensions/libxt_esp.c b/extensions/libxt_esp.c
index 401c104a..7eb030e8 100644
--- a/extensions/libxt_esp.c
+++ b/extensions/libxt_esp.c
@@ -165,7 +165,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match esp = {
- .next = NULL,
.family = AF_INET,
.name = "esp",
.version = IPTABLES_VERSION,
@@ -181,7 +180,6 @@ static struct xtables_match esp = {
};
static struct xtables_match esp6 = {
- .next = NULL,
.family = AF_INET6,
.name = "esp",
.version = IPTABLES_VERSION,
diff --git a/extensions/libxt_length.c b/extensions/libxt_length.c
index 5b6453e8..345423d7 100644
--- a/extensions/libxt_length.c
+++ b/extensions/libxt_length.c
@@ -132,7 +132,6 @@ save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match length = {
- .next = NULL,
.family = AF_INET,
.name = "length",
.version = IPTABLES_VERSION,
@@ -147,7 +146,6 @@ static struct xtables_match length = {
};
static struct xtables_match length6 = {
- .next = NULL,
.family = AF_INET6,
.name = "length",
.version = IPTABLES_VERSION,
diff --git a/extensions/libxt_limit.c b/extensions/libxt_limit.c
index aa7131d6..c85536bd 100644
--- a/extensions/libxt_limit.c
+++ b/extensions/libxt_limit.c
@@ -176,7 +176,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match limit = {
- .next = NULL,
.family = AF_INET,
.name = "limit",
.version = IPTABLES_VERSION,
@@ -192,7 +191,6 @@ static struct xtables_match limit = {
};
static struct xtables_match limit6 = {
- .next = NULL,
.family = AF_INET6,
.name = "limit",
.version = IPTABLES_VERSION,
diff --git a/extensions/libxt_mac.c b/extensions/libxt_mac.c
index 61da13bd..b907594c 100644
--- a/extensions/libxt_mac.c
+++ b/extensions/libxt_mac.c
@@ -121,7 +121,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match mac = {
- .next = NULL,
.family = AF_INET,
.name = "mac",
.version = IPTABLES_VERSION,
@@ -136,7 +135,6 @@ static struct xtables_match mac = {
};
static struct xtables_match mac6 = {
- .next = NULL,
.family = AF_INET6,
.name = "mac",
.version = IPTABLES_VERSION,
diff --git a/extensions/libxt_mark.c b/extensions/libxt_mark.c
index 97771b09..04104d13 100644
--- a/extensions/libxt_mark.c
+++ b/extensions/libxt_mark.c
@@ -105,7 +105,6 @@ save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match mark = {
- .next = NULL,
.family = AF_INET,
.name = "mark",
.version = IPTABLES_VERSION,
@@ -120,7 +119,6 @@ static struct xtables_match mark = {
};
static struct xtables_match mark6 = {
- .next = NULL,
.family = AF_INET6,
.name = "mark",
.version = IPTABLES_VERSION,
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,
diff --git a/extensions/libxt_physdev.c b/extensions/libxt_physdev.c
index 397c5e9b..0f862c0c 100644
--- a/extensions/libxt_physdev.c
+++ b/extensions/libxt_physdev.c
@@ -173,7 +173,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match physdev = {
- .next = NULL,
.family = AF_INET,
.name = "physdev",
.version = IPTABLES_VERSION,
@@ -189,7 +188,6 @@ static struct xtables_match physdev = {
};
static struct xtables_match physdev6 = {
- .next = NULL,
.family = AF_INET6,
.name = "physdev",
.version = IPTABLES_VERSION,
diff --git a/extensions/libxt_pkttype.c b/extensions/libxt_pkttype.c
index 96542269..81cd943e 100644
--- a/extensions/libxt_pkttype.c
+++ b/extensions/libxt_pkttype.c
@@ -148,7 +148,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match pkttype = {
- .next = NULL,
.family = AF_INET,
.name = "pkttype",
.version = IPTABLES_VERSION,
@@ -163,7 +162,6 @@ static struct xtables_match pkttype = {
};
static struct xtables_match pkttype6 = {
- .next = NULL,
.family = AF_INET6,
.name = "pkttype",
.version = IPTABLES_VERSION,
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,
diff --git a/extensions/libxt_standard.c b/extensions/libxt_standard.c
index 02128a7e..3838ac65 100644
--- a/extensions/libxt_standard.c
+++ b/extensions/libxt_standard.c
@@ -49,7 +49,6 @@ save(const void *ip, const struct xt_entry_target *target)
static
struct xtables_target standard = {
- .next = NULL,
.family = AF_INET,
.name = "standard",
.version = IPTABLES_VERSION,
@@ -66,7 +65,6 @@ struct xtables_target standard = {
static
struct xtables_target standard6 = {
- .next = NULL,
.family = AF_INET6,
.name = "standard",
.version = IPTABLES_VERSION,
diff --git a/extensions/libxt_tcp.c b/extensions/libxt_tcp.c
index c3a53b7c..da4922b6 100644
--- a/extensions/libxt_tcp.c
+++ b/extensions/libxt_tcp.c
@@ -395,7 +395,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
}
static struct xtables_match tcp = {
- .next = NULL,
.family = AF_INET,
.name = "tcp",
.version = IPTABLES_VERSION,
@@ -411,7 +410,6 @@ static struct xtables_match tcp = {
};
static struct xtables_match tcp6 = {
- .next = NULL,
.family = AF_INET6,
.name = "tcp",
.version = IPTABLES_VERSION,
diff --git a/extensions/libxt_tcpmss.c b/extensions/libxt_tcpmss.c
index db3dd901..4b421b21 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,
diff --git a/extensions/libxt_udp.c b/extensions/libxt_udp.c
index c3795367..6942043f 100644
--- a/extensions/libxt_udp.c
+++ b/extensions/libxt_udp.c
@@ -209,7 +209,6 @@ static void save(const void *ip, const struct xt_entry_match *match)
static
struct xtables_match udp = {
- .next = NULL,
.family = AF_INET,
.name = "udp",
.version = IPTABLES_VERSION,
@@ -226,7 +225,6 @@ struct xtables_match udp = {
static
struct xtables_match udp6 = {
- .next = NULL,
.family = AF_INET6,
.name = "udp",
.version = IPTABLES_VERSION,