pkgsrc/net/tcpdpriv/patches/patch-ab
2006-03-01 22:49:07 +00:00

21 lines
481 B
Text

$NetBSD: patch-ab,v 1.2 2006/03/01 22:49:07 wiz Exp $
--- tcpdutil.c.orig 2000-04-18 08:08:34.000000000 +0000
+++ tcpdutil.c
@@ -30,6 +30,7 @@
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <fcntl.h>
#include <pcap.h>
@@ -141,7 +142,7 @@ read_infile(char *fname)
void
-bpf_dump(FILE *output, struct bpf_program *p, int option)
+my_bpf_dump(FILE *output, struct bpf_program *p, int option)
{
struct bpf_insn *insn;
int i;