summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/libip6t_HL.c2
-rw-r--r--extensions/libipt_MASQUERADE.c2
-rw-r--r--extensions/libipt_realm.c2
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)),