Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2001 16:30:03 -0800 (PST)
From:      Archie Cobbs <archie@packetdesign.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/24116: libpcap error state not reset in pcap_compile_nopcap()
Message-ID:  <200101070030.f070U3074119@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/24116; it has been noted by GNATS.

From: Archie Cobbs <archie@packetdesign.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: bin/24116: libpcap error state not reset in pcap_compile_nopcap()
Date: Sat, 06 Jan 2001 16:25:27 -0800

 Here is the fix.
 
 -Archie
 
 __________________________________________________________________________
 Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com
 
 Index: scanner.l
 ===================================================================
 RCS file: /home/ncvs/src/contrib/libpcap/scanner.l,v
 retrieving revision 1.5
 diff -u -r1.5 scanner.l
 --- scanner.l   2000/01/30 00:43:35     1.5
 +++ scanner.l   2001/01/07 00:23:42
 @@ -273,6 +273,7 @@
         char *buf;
  {
         in_buffer = buf;
 +       yyrestart(NULL);
  }
  
  /*
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101070030.f070U3074119>