diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-02-07 19:59:53 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2009-02-07 20:04:09 +0100 |
commit | 77f48c2f1ef21fa43aa68c25a1457db319ca2526 (patch) | |
tree | 7ea8f2daedc6d1aebf87e6ca9e7d244a855aedb6 /iptables-standalone.c | |
parent | 1de7edffc9085c0f41c261dca995e28ae4126c29 (diff) |
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 <jengelh@medozas.de>
Diffstat (limited to 'iptables-standalone.c')
-rw-r--r-- | iptables-standalone.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables-standalone.c b/iptables-standalone.c index 91908732..ece7cf42 100644 --- a/iptables-standalone.c +++ b/iptables-standalone.c @@ -55,6 +55,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 |