]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Remove the .next=NULL field. This is automatically initialized to zero.
authorJan Engelhardt <jengelh@medozas.de>
Mon, 30 Jul 2007 13:38:44 +0000 (13:38 +0000)
committerYasuyuki KOZAKAI <yasuyuki@netfilter.org>
Mon, 30 Jul 2007 13:38:44 +0000 (13:38 +0000)
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>
50 files changed:
extensions/libip6t_TRACE.c
extensions/libip6t_state.c
extensions/libipt_CLASSIFY.c
extensions/libipt_CLUSTERIP.c
extensions/libipt_CONNSECMARK.c
extensions/libipt_DNAT.c
extensions/libipt_DSCP.c
extensions/libipt_ECN.c
extensions/libipt_MARK.c
extensions/libipt_MIRROR.c
extensions/libipt_NETMAP.c
extensions/libipt_REDIRECT.c
extensions/libipt_REJECT.c
extensions/libipt_SAME.c
extensions/libipt_SNAT.c
extensions/libipt_TOS.c
extensions/libipt_TRACE.c
extensions/libipt_ULOG.c
extensions/libipt_addrtype.c
extensions/libipt_ah.c
extensions/libipt_connbytes.c
extensions/libipt_connrate.c
extensions/libipt_conntrack.c
extensions/libipt_helper.c
extensions/libipt_icmp.c
extensions/libipt_iprange.c
extensions/libipt_owner.c
extensions/libipt_recent.c
extensions/libipt_state.c
extensions/libipt_tos.c
extensions/libipt_ttl.c
extensions/libipt_unclean.c
extensions/libxt_NFQUEUE.c
extensions/libxt_SECMARK.c
extensions/libxt_TCPMSS.c
extensions/libxt_comment.c
extensions/libxt_dscp.c
extensions/libxt_esp.c
extensions/libxt_length.c
extensions/libxt_limit.c
extensions/libxt_mac.c
extensions/libxt_mark.c
extensions/libxt_multiport.c
extensions/libxt_physdev.c
extensions/libxt_pkttype.c
extensions/libxt_quota.c
extensions/libxt_standard.c
extensions/libxt_tcp.c
extensions/libxt_tcpmss.c
extensions/libxt_udp.c

index 2fc786fb1381e33b063d9db353f9b02ac289a636..edbb416cb598a777a81de396c08825309a3c93f0 100644 (file)
@@ -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),
index 01647a6f12ae0d4f551514b2c179a2b1da43cf25..b7c251721969f16b20e2aa8e26c789945856f59e 100644 (file)
@@ -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)),
index 16e47ac598e97eaa4c4f89d62d4aa6e7608b4ebb..044ea9594e716693a074211aee93c170cc64138f 100644 (file)
@@ -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)),
index 036a98e3f6d05103e85af35de4a1936d1de437b3..30ae3bfccb38610bb007a5d535e8e1fba79e35d8 100644 (file)
@@ -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)),
index bb6fb282cf30b4de68fee4770a2ce6cccba0773f..191cd9adce952a86c5a88ec05257cc8ecc4dc9ee 100644 (file)
@@ -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,
index 21b79ad8613d5695e5ce165b44df930b80194b8c..0d787637b802dbb2f80da809116cd1e5765f99ec 100644 (file)
@@ -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)),
index 8845af223a81c04b224a03e0e0e31ab99386b9ed..b1a0df0f6a14ad341c6e8fdcc5fe224eb8c50745 100644 (file)
@@ -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)),
index ce808aac6ecc20991897ada3064703279232c10e..7c6c29397c96734fb39dadfbea9db4390ae20f9b 100644 (file)
@@ -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)),
index 62329ab59123f93235f7a4978d6bd0f23bb7d540..6a9471821d9c5ecf0a04e4b1a3ddf32237c6e05f 100644 (file)
@@ -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,
index c02807b95eebd928fc007edd15e51d4df4f20617..02923b8c36084f86db34152efeec05f8f99d7de6 100644 (file)
@@ -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),
index d296d3118aa4b5b569efe04c8c413d27fb69febe..302448f6764512a0121c2370039f8e39619b133f 100644 (file)
@@ -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)),
index ee42eb7e1dedb81643e32ae97d09841ff4106acc..0aff8be86415e634e333826da894af755c4447ef 100644 (file)
@@ -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)),
index d41603fc94c8c5130ecce1655f832545ae35309e..4e083f39dafe15c1f98792100a906d11755ab184 100644 (file)
@@ -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)),
index 83ab7cd123a11b773e32e67393b6b56e9eece0e9..b14c50168817989ec60de40b8509480375f87730 100644 (file)
@@ -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)),
index ead5ab80cd7f58231263f60777a1b24fbd992918..a18e36a965c6a986038bd54edf3f59e187e6e5c8 100644 (file)
@@ -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)),
index 1143c0c31f9c7bacc0bab3235140df9f443f46d3..b1e7186a226fe4bb97ee925e9388c878e35b37bd 100644 (file)
@@ -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)),
index f2a5d328b18ac6412c8312df8281a7edf406fcea..22652cb68298e3134b67dabc445805fa59482801 100644 (file)
@@ -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),
index cf1dd4f59c3c4f860fca401939e64e881ee9eb0b..88fc16d938015a56e9ac53987fd07706f374b004 100644 (file)
@@ -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)),
index 144a702e381baf58c7b7c61dee2d8fb98c374205..ed8b2046c3516dc5f107205c62dec1c72b640441 100644 (file)
@@ -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)),
index ec01f8225eeea5be63bfb46004438650afce4d6b..3bc2d8d85e5ef07205bc38c3a6f7bf3aebf37df2 100644 (file)
@@ -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)),
index 69b39bdda0e99e905d4f8b5a5a0b0fc714bef4e5..9b40d5a59d7ab67b497eade19976b9a57ccbf21d 100644 (file)
@@ -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)),
index 279205004e0542f88264cb0ed7fdaa2dd66add22..9a7563e25b40c02dd9049ea08e7f86c953d9d930 100644 (file)
@@ -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)),
index 15d42649b83375ce0b200bd729386539a7dc376f..b50a58bb2c3d86ebca43d8e10dc274b3e05ad793 100644 (file)
@@ -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)),
index 3c1c739d5d59fd88f5ea05b8b2c279598c077eda..e5772555bf04c5424dc3aed25ee5091528d67d87 100644 (file)
@@ -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)),
index 4cbccd54e48702bf44245ccd5d8c3e6f00147a7d..21da4ea1c648d797f96bdfc9830d02bf19430439 100644 (file)
@@ -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)),
index 78096e12bce23575ea5b85c6cb3434f29dc693cc..3a039b12553495e3d78843bec518d6c8c742e6b1 100644 (file)
@@ -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)),
index b65a15cb72f415fa472054c88779e383fa40d055..c7217743bf9a21426ae08082cb450d17e527f0a0 100644 (file)
@@ -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)),
index 2c38ad33626d01f701b61787db1985379434b30b..38d58711774e86fe36d42385a3e5f09a0edfd842 100644 (file)
@@ -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)),
index fcfee463bed1df41154f0131427c5d703e3e86e4..a6d9dc37f44cc15265b0629f2b18a933f2d2cf54 100644 (file)
@@ -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)),
index 6ee1abcd5ba1928c980104161219302bbb7a4139..efc216c4fbc7a23980d713b30cb2d20eeb879061 100644 (file)
@@ -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)),
index 79bddca252bd5b202f86c71e76969cdbb368c45c..5409deec38bb6e5c47657df8b7bb64cc98fce737 100644 (file)
@@ -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)),
index 2af14424c10c4f3a8a0aa18e3dee679f986f3656..8bb29634c572822b4de99f204e06f98a74e85fd8 100644 (file)
@@ -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),
index 558e80b2e4b419030b2caa5461421a4d27c654da..7b3dceccc636af55af3bcaa2b650f3ab605dd099 100644 (file)
@@ -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,
index 38aaca9b6155fcffbf7c5528614cf2cfe2141121..8bf19bce90f8a78cae9f4e8e9e7d4ac41c6b1603 100644 (file)
@@ -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,
index d5b6c1f0ad613dc7ab5528bd90ba16702df00032..cd2fc420e65a86e7a8a644b2d282957de4ee503e 100644 (file)
@@ -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,
index 9a0c96059f9b5370d08a3606015a8751ff00fda3..770a3ec556c0b5a402f432fd4122871411509a91 100644 (file)
@@ -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,
index 8ca744431f4406923f3b321b5067bad8fa59b0d8..3f5f6c64cee93222aaf0c9cd99f4883d062cabf9 100644 (file)
@@ -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,
index 401c104ad5ebe19b02476db6af618e2e0226dd9a..7eb030e8e29f1a2330508bb8bd5a296b588cea0d 100644 (file)
@@ -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,
index 5b6453e8ee68d9f84d9936bcea186be67aae23c4..345423d76d2e4ccefa142c0202f8709dfbaf4e9a 100644 (file)
@@ -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,
index aa7131d60bd4b58553f37ca3688f09fb2ad501b1..c85536bd13990f66d553e24b78c3cfa87fd2bc88 100644 (file)
@@ -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,
index 61da13bd4658d704d8ce1a284a1056f7607a362e..b907594c578738549400d7eec6427de223c5c21c 100644 (file)
@@ -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,
index 97771b0989da3e3181854470d59f8d6392726cc6..04104d1340c0976c1ea51bc17292654140dec833 100644 (file)
@@ -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,
index 7d7c266a37b0b82f0c6a5ad0937828a9b6adbb66..274a58301adebf97c84604ac809b6a4e68dc2190 100644 (file)
@@ -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,
index 397c5e9bd8f2978b2503a24adbc7c8f38b3e144d..0f862c0cdcb154be3756b81c8f796156c73da7e3 100644 (file)
@@ -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,
index 96542269f483029901713b998c97bf18eeb34f46..81cd943e160da99cac409df45a045e5f944aecf9 100644 (file)
@@ -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,
index a273b2904305879c228753071f772306ee163aa9..f97f02cdc09b1b445113d690b9971ae2d2072dbe 100644 (file)
@@ -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,
index 02128a7e7f2e8da8a96a8a41ebec078e7c319c3b..3838ac6565b43e386c353c1fb1a09629bbb2b1e5 100644 (file)
@@ -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,
index c3a53b7cbfe89c8812be39d4580bfe673b8b6a32..da4922b6a83ea0ae4cfa7b42cda484e60d13adee 100644 (file)
@@ -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,
index db3dd901b6ef267ed3d212ba3f1c7f88cd59fe9f..4b421b21261431c51b948626d84580a9c8970738 100644 (file)
@@ -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,
index c379536740ee49d5f658a9be2d5b1a1c152eda22..6942043fa9bbfd90178d92a5547c8b61f4862753 100644 (file)
@@ -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,