summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
Diffstat (limited to 'iptables.c')
-rw-r--r--iptables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables.c b/iptables.c
index 7efd3cf8..2c6b4dcc 100644
--- a/iptables.c
+++ b/iptables.c
@@ -201,7 +201,7 @@ struct pprot {
};
struct afinfo afinfo = {
- .family = AF_INET,
+ .family = NFPROTO_IPV4,
.libprefix = "libipt_",
.ipproto = IPPROTO_IP,
.kmod = "ip_tables",