diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-20 17:53:56 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-20 17:53:56 +0000 |
commit | dbcd1fc8e981bc2cb4dffbce30461f4ebded0822 (patch) | |
tree | 5f8fbd3aec18b73aed69592c12f7f0f9c4649c96 /www/oops/files | |
parent | a1f98f3e37246f9dec1934f3e818b67c849318eb (diff) | |
download | ports-dbcd1fc8e981bc2cb4dffbce30461f4ebded0822.tar.gz ports-dbcd1fc8e981bc2cb4dffbce30461f4ebded0822.zip |
Notes
Diffstat (limited to 'www/oops/files')
-rw-r--r-- | www/oops/files/patch-src_modules_transparent.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/oops/files/patch-src_modules_transparent.c b/www/oops/files/patch-src_modules_transparent.c new file mode 100644 index 000000000000..658f7ff23385 --- /dev/null +++ b/www/oops/files/patch-src_modules_transparent.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- src/modules/transparent.c.orig ++++ src/modules/transparent.c +@@ -214,7 +214,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; |