diff options
Diffstat (limited to 'irc/tircproxy/files/patch-ad')
-rw-r--r-- | irc/tircproxy/files/patch-ad | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/irc/tircproxy/files/patch-ad b/irc/tircproxy/files/patch-ad deleted file mode 100644 index 19ddb4493041..000000000000 --- a/irc/tircproxy/files/patch-ad +++ /dev/null @@ -1,43 +0,0 @@ ---- 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> -+# include <netinet/ip_nat.h> -+# include <netinet/ip_state.h> - # include <netinet/ip_proxy.h> - # include <netinet/ip_nat.h> - # define TRANS 1 -+# 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 -- struct sockaddr_in socketin, sloc; -- natlookup_t natlook; -- int fd; -+ struct sockaddr_in socketin, sloc; -+ natlookup_t natlook; -+ natlookup_t *natlookp = &natlook; -+ int fd; - #endif - - /* Give this thing 10 minutes to get started (paranoia). -@@ -1152,9 +1158,9 @@ - natlook.nl_inport = sloc.sin_port; - - fd = open(IPL_NAT, O_RDONLY); -- if (ioctl(fd, SIOCGNATL, &natlook) == -1) -+ if (ioctl(fd, SIOCGNATL, &natlookp) == -1) - { -- perror("ioctl"); -+ perror("ioctl(SIOCGNATL)"); - exit(-1); - } - close(fd); |