summaryrefslogtreecommitdiffstats
path: root/extensions/libipt_ECN.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libipt_ECN.c')
-rw-r--r--extensions/libipt_ECN.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libipt_ECN.c b/extensions/libipt_ECN.c
index 0ef480b0..1336bb9a 100644
--- a/extensions/libipt_ECN.c
+++ b/extensions/libipt_ECN.c
@@ -153,7 +153,7 @@ static void ECN_save(const void *ip, const struct xt_entry_target *target)
static struct xtables_target ecn_tg_reg = {
.name = "ECN",
.version = XTABLES_VERSION,
- .family = PF_INET,
+ .family = NFPROTO_IPV4,
.size = XT_ALIGN(sizeof(struct ipt_ECN_info)),
.userspacesize = XT_ALIGN(sizeof(struct ipt_ECN_info)),
.help = ECN_help,