NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/41887: wrong mode selected in ipf program for hash-entries



The following reply was made to PR bin/41887; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost, Darren Reed <darrenr%NetBSD.org@localhost>
Cc: 
Subject: Re: bin/41887: wrong mode selected in ipf program for hash-entries
Date: Fri, 14 Aug 2009 10:24:10 +0200

 On Fri, Aug 14, 2009 at 08:15:00AM +0000, 
Wolfgang.Stukenbrock%nagler-company.com@localhost wrote:
 > --- ipf_y.y  2009/08/14 07:54:12     1.1
 > +++ ipf_y.y  2009/08/14 07:54:52
 > @@ -860,7 +860,7 @@
 >                                        $$.a.iplookuptype = IPLT_HASH;
 >                                        $$.a.iplookupsubtype = 0;
 >                                        $$.a.iplookupnum = $3; }
 > -    | hash '/' YY_STR               { pooled = 1;
 > +    | hash '/' YY_STR               { hashed = 1;
 >                                        $$.a.iplookuptype = IPLT_HASH;
 >                                        $$.a.iplookupsubtype = 1;
 >                                        strncpy($$.a.iplookupname, $3,
 
 Same bug exists in -current and netbsd-5 (patch looks fine to me).
 
 Martin
 


Home | Main Index | Thread Index | Old Index