diff options
Diffstat (limited to 'net/ngrep/files/patch-ngrep.c')
| -rw-r--r-- | net/ngrep/files/patch-ngrep.c | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/net/ngrep/files/patch-ngrep.c b/net/ngrep/files/patch-ngrep.c index 1310923e3c8f..2840f69190df 100644 --- a/net/ngrep/files/patch-ngrep.c +++ b/net/ngrep/files/patch-ngrep.c @@ -1,19 +1,7 @@ ---- ngrep.c.orig Fri Oct 22 05:21:26 1999 -+++ ngrep.c Mon Jan 31 12:58:36 2000 -@@ -59,6 +59,7 @@ - int link_offset; - pcap_t *pd; - +--- ngrep.c.orig Mon Jun 26 12:52:50 2000 ++++ ngrep.c Wed Aug 9 02:16:59 2000 +@@ -50,0 +51 @@ +extern FILE *yyin; - - int main(int argc, char **argv) { - char c; -@@ -141,7 +142,7 @@ - free(filter); - filter = get_filter(&argv[optind-1]); - +@@ -199 +200 @@ - PCAP_RESTART(); + PCAP_RESTART(yyin); - if (pcap_compile(pd,&pcapfilter,filter,0,mask.s_addr)) { - pcap_perror(pd,"pcap compile"); - exit(-1); |
