diff options
Diffstat (limited to 'net/ngrep/files/patch-ngrep.c')
-rw-r--r-- | net/ngrep/files/patch-ngrep.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ngrep/files/patch-ngrep.c b/net/ngrep/files/patch-ngrep.c index 48dc19264ead..44c4a094ee01 100644 --- a/net/ngrep/files/patch-ngrep.c +++ b/net/ngrep/files/patch-ngrep.c @@ -1,19 +1,19 @@ ---- ngrep.c.orig Wed Aug 8 23:36:09 2001 -+++ ngrep.c Wed Aug 8 23:36:31 2001 +--- ngrep.c.orig Mon Dec 31 14:11:00 2001 ++++ ngrep.c Sat Nov 8 15:50:53 2003 @@ -62,6 +62,7 @@ #include "ngrep.h" -+extern FILE *yyin; ++extern FILE *pcapyyin; - static char rcsver[] = "$Revision: 1.18 $"; + static char rcsver[] = "$Revision: 1.23 $"; @@ -232,7 +233,7 @@ filter = get_filter(&argv[optind-1]); #ifdef NEED_RESTART - PCAP_RESTART(); -+ PCAP_RESTART(yyin); ++ PCAP_RESTART(pcapyyin); #endif if (pcap_compile(pd, &pcapfilter, filter, 0, mask.s_addr)) { pcap_perror(pd, "pcap compile"); |