updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / ipp2p / ipp2p-0.8.2-iptables-1.4.0.patch
blobb55fb54f8ff6f08729defe4ffecd3667f4c328aa
1 diff -Nru ipp2p-0.8.2.orig/libipt_ipp2p.c ipp2p-0.8.2/libipt_ipp2p.c
2 --- ipp2p-0.8.2.orig/libipt_ipp2p.c 2006-01-04 18:24:19.000000000 +0200
3 +++ ipp2p-0.8.2/libipt_ipp2p.c 2007-12-30 20:20:26.000000000 +0200
4 @@ -64,12 +64,10 @@
7 static void
8 -init(struct ipt_entry_match *m, unsigned int *nfcache)
9 +init(struct ipt_entry_match *m)
11 struct ipt_p2p_info *info = (struct ipt_p2p_info *)m->data;
13 - *nfcache |= NFC_UNKNOWN;
15 /*init the module with default values*/
16 info->cmd = 0;
17 info->debug = 0;
18 @@ -79,8 +77,7 @@
20 static int
21 parse(int c, char **argv, int invert, unsigned int *flags,
22 - const struct ipt_entry *entry,
23 - unsigned int *nfcache,
24 + const void *entry,
25 struct ipt_entry_match **match)
27 struct ipt_p2p_info *info = (struct ipt_p2p_info *)(*match)->data;
28 @@ -315,7 +312,7 @@
31 static void
32 -print(const struct ipt_ip *ip,
33 +print(const void *ip,
34 const struct ipt_entry_match *match,
35 int numeric)
37 @@ -347,7 +344,7 @@
40 static void
41 -save(const struct ipt_ip *ip, const struct ipt_entry_match *match)
42 +save(const void *ip, const struct ipt_entry_match *match)
44 struct ipt_p2p_info *info = (struct ipt_p2p_info *)match->data;