"Guy Harris" <[EMAIL PROTECTED]> said:

> > doesn't close() the filter-expression file.
> > Is that intentional or an omission?
> 
> As far as I know, it's an omission.
> 

Attached is a patch that adds a close(), fixes the file-mode and allows
comments in the filter-expression file. Also need this patch in libpcap:
-------------------------------------------
--- ./scanner.l.orig   Fri Dec  6 00:01:36 2002
+++ ./scanner.l      Sat Feb  8 14:58:28 2003
@@ -276,7 +276,7 @@
 connectmsg     return CONNECTMSG;
 metaconnect    return METACONNECT;

-[ \n\t]                        ;
+[ \r\n\t]                      ;
 [+\-*/:\[\]!<>()&|=]   return yytext[0];
 ">="                   return GEQ;
 "<="                   return LEQ;

-------------------------------------------

Gisle V.

Not what you think it is;  http://www.nice-tits.org
  

Attachment: util.dif
Description: Binary data

Reply via email to