mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-06 20:55:13 +02:00
compat_xtables: remove unused compat_nfinetaddr.h header
This commit is contained in:
@@ -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 */
|
|
@@ -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")];
|
char buf[sizeof("+192.168.100.100:200.200.200.200")];
|
||||||
const char *c = buf;
|
const char *c = buf;
|
||||||
const char *c2;
|
const char *c2;
|
||||||
//union nf_inet_addr addr = {};
|
|
||||||
__be32 addr1,addr2;
|
__be32 addr1,addr2;
|
||||||
bool add;
|
bool add;
|
||||||
char str[25];
|
char str[25];
|
||||||
|
Reference in New Issue
Block a user