From 77f48c2f1ef21fa43aa68c25a1457db319ca2526 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 7 Feb 2009 19:59:53 +0100 Subject: libxtables: move afinfo around libxtables should not rely on the program executable providing the magic constants for using [gs]etsockopt. Signed-off-by: Jan Engelhardt --- iptables-restore.c | 1 + 1 file changed, 1 insertion(+) (limited to 'iptables-restore.c') diff --git a/iptables-restore.c b/iptables-restore.c index 56812ee9..810806f0 100644 --- a/iptables-restore.c +++ b/iptables-restore.c @@ -134,6 +134,7 @@ main(int argc, char *argv[]) xtables_program_name = program_name; xtables_init(); + xtables_set_nfproto(NFPROTO_IPV4); #ifdef NO_SHARED_LIBS init_extensions(); #endif -- cgit v1.2.3