summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/libxt_socket.c')
-rw-r--r--extensions/libxt_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_socket.c b/extensions/libxt_socket.c
index 26ac9e33..eebc7c55 100644
--- a/extensions/libxt_socket.c
+++ b/extensions/libxt_socket.c
@@ -25,7 +25,7 @@ static void socket_mt_check(unsigned int flags)
static struct xtables_match socket_mt_reg = {
.name = "socket",
.version = XTABLES_VERSION,
- .family = AF_INET,
+ .family = NFPROTO_IPV4,
.size = XT_ALIGN(0),
.userspacesize = XT_ALIGN(0),
.parse = socket_mt_parse,