summaryrefslogtreecommitdiff
path: root/net/ngrep/files/patch-ngrep.c
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-11-08 23:59:58 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-11-08 23:59:58 +0000
commit460ab28cb3eade84b3fb414b78145bb642614470 (patch)
treef104863db56171fcfe49ad74983dc916ce596fc9 /net/ngrep/files/patch-ngrep.c
parentAdd OpenOffice.org 1.1 for Greek language (diff)
Fix build on -current, thanks to a patch from walt <wa1ter@myrealbox.com>
Use PORTDOCS fully.
Notes
Notes: svn path=/head/; revision=93449
Diffstat (limited to 'net/ngrep/files/patch-ngrep.c')
-rw-r--r--net/ngrep/files/patch-ngrep.c10
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");