]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
Remove stray NULLs
authorJan Engelhardt <jengelh@medozas.de>
Thu, 4 Oct 2007 16:23:20 +0000 (16:23 +0000)
committerPatrick McHardy <kaber@trash.net>
Thu, 4 Oct 2007 16:23:20 +0000 (16:23 +0000)
Mixing member accessors (non-named vs named) is not good.
Remove stray NULL.

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
extensions/libip6t_HL.c
extensions/libipt_MASQUERADE.c
extensions/libipt_realm.c

index 32fcd4a5b58b00dfd0313b72ef9a3f17178428ee..49ebfbc28fc6f753c4f0bb4dcca131018f121791 100644 (file)
@@ -146,7 +146,7 @@ static const struct option opts[] = {
 };
 
 static
-struct ip6tables_target HL = { NULL, 
+struct ip6tables_target HL = {
        .name           = "HL",
        .version        = IPTABLES_VERSION,
        .size           = IP6T_ALIGN(sizeof(struct ip6t_HL_info)),
index 131c1dcd962203d45eeca1ccfe58928f6d189afc..5796b27ef43d55544cb9663c1af42b1e73ca6956 100644 (file)
@@ -161,7 +161,7 @@ save(const void *ip, const struct xt_entry_target *target)
                printf("--random ");
 }
 
-static struct iptables_target masq = { NULL,
+static struct iptables_target masq = {
        .name           = "MASQUERADE",
        .version        = IPTABLES_VERSION,
        .size           = IPT_ALIGN(sizeof(struct ip_nat_multi_range)),
index 87302433bf08c7b1abc8df209a8ad045bbc4e304..2304d6859fc6d4e2e479452147ac5a1d50f8f696 100644 (file)
@@ -250,7 +250,7 @@ final_check(unsigned int flags)
                           "realm match: You must specify `--realm'");
 }
 
-static struct iptables_match realm = { NULL,
+static struct iptables_match realm = {
        .name           = "realm",
        .version        = IPTABLES_VERSION,
        .size           = IPT_ALIGN(sizeof(struct ipt_realm_info)),