Subject: Re: pkg/30085: squid-2.5.9 >=nb6 crashes when doing ipf-transparent
To: None <taca@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Takahiro Kambe <taca@back-street.net>
List: pkgsrc-bugs
Date: 04/29/2005 01:45:02
The following reply was made to PR pkg/30085; it has been noted by GNATS.

From: Takahiro Kambe <taca@back-street.net>
To: kilbi@kilbi.de, gnats-bugs@netbsd.org
Cc: pkgsrc-bugs@netbsd.org
Subject: Re: pkg/30085: squid-2.5.9 >=nb6 crashes when doing ipf-transparent
Date: Fri, 29 Apr 2005 10:44:03 +0900 (JST)

 Is this additional patch change your problem?
 
 --- src/client_side.c.orig	2005-04-28 12:15:59.000000000 +0900
 +++ src/client_side.c
 @@ -2739,8 +2739,8 @@ parseHttpRequest(ConnStateData * conn, m
  	    if (natfd < 0) {
  		int save_errno;
  		enter_suid();
 -#ifdef IPL_NAME
 -		natfd = open(IPL_NAME, O_RDONLY, 0);
 +#ifdef IPNAT_NAME
 +		natfd = open(IPNAT_NAME, O_RDONLY, 0);
  #else
  		natfd = open(IPL_NAT, O_RDONLY, 0);
  #endif