Date: Wed, 7 Feb 2007 19:48:19 GMT From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 114205 for review Message-ID: <200702071948.l17JmJlR063417@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=114205 Change 114205 by csjp@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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702071948.l17JmJlR063417>