]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
compat_xtables: remove unused compat_nfinetaddr.h header
authorJan Engelhardt <jengelh@inai.de>
Thu, 9 Jan 2014 09:19:48 +0000 (10:19 +0100)
committerJan Engelhardt <jengelh@inai.de>
Thu, 9 Jan 2014 09:19:48 +0000 (10:19 +0100)
extensions/compat_nfinetaddr.h [deleted file]
extensions/xt_DNETMAP.c

diff --git a/extensions/compat_nfinetaddr.h b/extensions/compat_nfinetaddr.h
deleted file mode 100644 (file)
index 8c74ae1..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#ifndef _COMPAT_NFINETADDR_H
-#define _COMPAT_NFINETADDR_H 1
-
-#include <linux/in.h>
-#include <linux/in6.h>
-
-union nf_inet_addr {
-       __be32 ip;
-       __be32 ip6[4];
-       struct in_addr in;
-       struct in6_addr in6;
-};
-
-#endif /* _COMPAT_NFINETADDR_H */
index 79e9bc37c180648a2be9ae3a3473d6f8b78b932e..594ef5bf5ea3e697c6e3dbf8595f43ebf2b7d431 100644 (file)
@@ -608,7 +608,6 @@ dnetmap_tg_proc_write(struct file *file, const char __user *input,size_t size, l
        char buf[sizeof("+192.168.100.100:200.200.200.200")];
        const char *c = buf;
        const char *c2;
-       //union nf_inet_addr addr = {};
        __be32 addr1,addr2;
        bool add;
        char str[25];