aboutsummaryrefslogtreecommitdiff
path: root/irc/tircproxy
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2005-06-29 13:52:06 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2005-06-29 13:52:06 +0000
commit60ac8ae3bda6af217bcafe30bf907a38a15b11fd (patch)
tree110e055d082cc9843f361d9915ba30eeb297e6f9 /irc/tircproxy
parenta70709d9cf1f3f0ad12ec462f9868134cdd5f30c (diff)
downloadports-60ac8ae3bda6af217bcafe30bf907a38a15b11fd.tar.gz
ports-60ac8ae3bda6af217bcafe30bf907a38a15b11fd.zip
Notes
Diffstat (limited to 'irc/tircproxy')
-rw-r--r--irc/tircproxy/files/patch-ad16
1 files changed, 11 insertions, 5 deletions
diff --git a/irc/tircproxy/files/patch-ad b/irc/tircproxy/files/patch-ad
index a5b0a5f46dee..19ddb4493041 100644
--- a/irc/tircproxy/files/patch-ad
+++ b/irc/tircproxy/files/patch-ad
@@ -1,6 +1,6 @@
---- tircproxy.c.orig Wed Sep 25 02:55:48 2002
-+++ tircproxy.c Wed Sep 25 02:56:17 2002
-@@ -131,6 +131,8 @@
+--- tircproxy.c.orig Wed Jun 29 13:40:45 2005
++++ tircproxy.c Wed Jun 29 13:42:01 2005
+@@ -131,9 +131,14 @@
# include <netinet/ip_compat.h>
# endif
# include <netinet/ip_fil.h>
@@ -9,7 +9,13 @@
# include <netinet/ip_proxy.h>
# include <netinet/ip_nat.h>
# define TRANS 1
-@@ -1066,9 +1068,10 @@
++# ifndef IPL_NAT
++# define IPL_NAT IPNAT_NAME
++# endif
+ # warning IPF transparent proxying available
+ # else
+ # undef IPF
+@@ -1066,9 +1071,10 @@
struct sockaddr_in to_addr;
int to_len;
#if IPF
@@ -23,7 +29,7 @@
#endif
/* Give this thing 10 minutes to get started (paranoia).
-@@ -1152,9 +1155,9 @@
+@@ -1152,9 +1158,9 @@
natlook.nl_inport = sloc.sin_port;
fd = open(IPL_NAT, O_RDONLY);