summaryrefslogtreecommitdiff
path: root/www/oops/files/patch-src_modules_transparent.c
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-05-30 21:20:39 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-05-30 21:20:39 +0000
commit6cfc4afaa684c16e036e23f7a9e3081fe6be473a (patch)
tree8aa6618618cc318ff669fff612856b62276e5e59 /www/oops/files/patch-src_modules_transparent.c
parent- Don't hardcode versioned perl binary in shebang line, otherwise it will (diff)
- One more fix for IPL_NAT
- Convert to OPTIONS PR: ports/81623 Submitted by: markm (maintainer)
Notes
Notes: svn path=/head/; revision=136465
Diffstat (limited to 'www/oops/files/patch-src_modules_transparent.c')
-rw-r--r--www/oops/files/patch-src_modules_transparent.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/oops/files/patch-src_modules_transparent.c b/www/oops/files/patch-src_modules_transparent.c
index 658f7ff23385..3b6e23e1ef42 100644
--- a/www/oops/files/patch-src_modules_transparent.c
+++ b/www/oops/files/patch-src_modules_transparent.c
@@ -12,3 +12,12 @@ $FreeBSD$
if (natfd < 0) {
my_xlog(OOPS_LOG_HTTP|OOPS_LOG_DBG|OOPS_LOG_SEVERE, "transparent/redir(): NAT open failed: %m\n");
goto notdone;
+@@ -270,7 +270,7 @@
+ natLookup.nl_outip = rq->client_sa.sin_addr;
+ natLookup.nl_flags = IPN_TCP;
+ if (natfd < 0) {
+- natfd = open(IPL_NAT, O_RDONLY, 0);
++ natfd = open(IPNAT_NAME, O_RDONLY, 0);
+ if (natfd < 0) {
+ my_xlog(OOPS_LOG_HTTP|OOPS_LOG_DBG|OOPS_LOG_SEVERE, "transparent/redir(): NAT open failed: %m\n");
+ goto notdone;