diff options
author | Thomas Quinot <thomas@FreeBSD.org> | 2005-06-14 10:25:24 +0000 |
---|---|---|
committer | Thomas Quinot <thomas@FreeBSD.org> | 2005-06-14 10:25:24 +0000 |
commit | facebe789476ce0113e0481750b9f1c6e46edd4a (patch) | |
tree | 59b079c0f1453b432f38da8474fc9b02e556e85e /net/proxy-suite | |
parent | 2e2949546d41885f4604fa9540d743818c72d3af (diff) | |
download | ports-facebe789476ce0113e0481750b9f1c6e46edd4a.tar.gz ports-facebe789476ce0113e0481750b9f1c6e46edd4a.zip |
There used to be a macro IPL_NAT in ipfilter that was defined to be the
same as IPNAT_NAME. This macro has been removed with the import of
ipfilter 4, so we now need to use IPNAT_NAME directly.
Fixes build on -CURRENT.
Reviewed by: roberto
Notes
Notes:
svn path=/head/; revision=137423
Diffstat (limited to 'net/proxy-suite')
-rw-r--r-- | net/proxy-suite/files/patch-com-socket.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/net/proxy-suite/files/patch-com-socket.c b/net/proxy-suite/files/patch-com-socket.c index 89b77ea6ced5..d9b26c0eb1ee 100644 --- a/net/proxy-suite/files/patch-com-socket.c +++ b/net/proxy-suite/files/patch-com-socket.c @@ -1,5 +1,5 @@ ---- common/com-socket.c Tue Mar 30 12:31:32 2004 -+++ common/com-socket.c Mon Dec 20 17:33:39 2004 +--- common/com-socket.c.dist Tue Mar 30 10:31:32 2004 ++++ common/com-socket.c Tue Jun 14 09:26:44 2005 @@ -84,6 +84,9 @@ #if defined(HAVE_STROPTS_H) # include <stropts.h> @@ -10,3 +10,15 @@ #if defined(HAVE_SYS_CONF_H) # include <sys/conf.h> #endif +@@ -2132,9 +2135,9 @@ + /* + ** BSD ipnat table lookup + */ +- if ((nat_fd = open(IPL_NAT, O_RDONLY, 0)) < 0) { ++ if ((nat_fd = open(IPNAT_NAME, O_RDONLY, 0)) < 0) { + syslog_error("can't open ipnat device '%.*s'", +- MAX_PATH_SIZE, IPL_NAT); ++ MAX_PATH_SIZE, IPNAT_NAME); + return -1; + } + |