PERFORCE change 114205 for review

Christian S.J. Peron csjp at FreeBSD.org
Wed Feb 7 19:48:23 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=114205

Change 114205 by csjp at csjp_rnd01 on 2007/02/07 19:47:39

	Doh.. fix build

Affected files ...

.. //depot/projects/zcopybpf/utils/bpfnull/bpfnull.c#11 edit

Differences ...

==== //depot/projects/zcopybpf/utils/bpfnull/bpfnull.c#11 (text+ko) ====

@@ -91,8 +91,8 @@
 bpf_process_packets(struct bpf_zbuf *bz, char *bufname)
 {
 	struct pcap_pkthdr phd;
-	int clen, hlen, c;
-	u_char *b,*bp, *ep, *p, c;
+	int clen, hlen, i;
+	u_char *b,*bp, *ep, *p, by;
 #define bhp ((struct bpf_hdr *)bp)
 
 	b = bp = bz->bz_bufa;
@@ -106,7 +106,7 @@
 		phd.caplen = phd.len = bhp->bh_datalen;
 		if (Tflag) {
 			for (i = 0; i < phd.caplen; i++)
-				c = p[i];
+				by = p[i];
 			bp += BPF_WORDALIGN(clen + hlen);
 			continue;
 		}


More information about the p4-projects mailing list