diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-10-04 16:23:20 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2007-10-04 16:23:20 +0000 |
commit | d3daa435a4790111ac6d6d0b0da2721081160341 (patch) | |
tree | cda0e4bb9c3ab7a829136d1f24a5aba0691dd015 | |
parent | 14d5ebef1e932451b634d8370079b4c93407aea1 (diff) |
Remove stray NULLs
Mixing member accessors (non-named vs named) is not good.
Remove stray NULL.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
-rw-r--r-- | extensions/libip6t_HL.c | 2 | ||||
-rw-r--r-- | extensions/libipt_MASQUERADE.c | 2 | ||||
-rw-r--r-- | extensions/libipt_realm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libip6t_HL.c b/extensions/libip6t_HL.c index 32fcd4a5..49ebfbc2 100644 --- a/extensions/libip6t_HL.c +++ b/extensions/libip6t_HL.c @@ -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)), diff --git a/extensions/libipt_MASQUERADE.c b/extensions/libipt_MASQUERADE.c index 131c1dcd..5796b27e 100644 --- a/extensions/libipt_MASQUERADE.c +++ b/extensions/libipt_MASQUERADE.c @@ -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)), diff --git a/extensions/libipt_realm.c b/extensions/libipt_realm.c index 87302433..2304d685 100644 --- a/extensions/libipt_realm.c +++ b/extensions/libipt_realm.c @@ -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)), |