/[gentoo-x86]/net-firewall/ipp2p/files/ipp2p-0.8.2-iptables-1.4.0.patch
Gentoo

Contents of /net-firewall/ipp2p/files/ipp2p-0.8.2-iptables-1.4.0.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Oct 18 11:27:43 2010 UTC (6 years, 10 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Treeclean per bug #309655.

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 @@
5
6
7 static void
8 -init(struct ipt_entry_match *m, unsigned int *nfcache)
9 +init(struct ipt_entry_match *m)
10 {
11 struct ipt_p2p_info *info = (struct ipt_p2p_info *)m->data;
12
13 - *nfcache |= NFC_UNKNOWN;
14 -
15 /*init the module with default values*/
16 info->cmd = 0;
17 info->debug = 0;
18 @@ -79,8 +77,7 @@
19
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)
26 {
27 struct ipt_p2p_info *info = (struct ipt_p2p_info *)(*match)->data;
28 @@ -315,7 +312,7 @@
29
30
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)
36 {
37 @@ -347,7 +344,7 @@
38
39
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)
43 {
44 struct ipt_p2p_info *info = (struct ipt_p2p_info *)match->data;
45

  ViewVC Help
Powered by ViewVC 1.1.20