summaryrefslogtreecommitdiffstats
path: root/iptables.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2009-02-07 19:59:53 +0100
committerJan Engelhardt <jengelh@medozas.de>2009-02-07 20:04:09 +0100
commit77f48c2f1ef21fa43aa68c25a1457db319ca2526 (patch)
tree7ea8f2daedc6d1aebf87e6ca9e7d244a855aedb6 /iptables.c
parent1de7edffc9085c0f41c261dca995e28ae4126c29 (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.c')
-rw-r--r--iptables.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/iptables.c b/iptables.c
index b43aadfd..f1a5d33e 100644
--- a/iptables.c
+++ b/iptables.c
@@ -194,15 +194,6 @@ const char *program_name;
int kernel_version;
-struct afinfo afinfo = {
- .family = NFPROTO_IPV4,
- .libprefix = "libipt_",
- .ipproto = IPPROTO_IP,
- .kmod = "ip_tables",
- .so_rev_match = IPT_SO_GET_REVISION_MATCH,
- .so_rev_target = IPT_SO_GET_REVISION_TARGET,
-};
-
/* Primitive headers... */
/* defined in netinet/in.h */
#if 0