Re: tcpdump: fix some clang warnings
On Mon, May 29, 2017 at 12:13:25PM +0200, Michal Mazurek wrote: > --- usr.sbin/tcpdump/print-bgp.c 24 Apr 2017 20:35:35 - 1.21 > +++ usr.sbin/tcpdump/print-bgp.c 29 May 2017 10:08:40 - > @@ -356,7 +356,7 @@ decode_prefix4(const u_char *pd, char *b > * eno
tcpdump: fix some clang warnings
"plen" and "len" are of type "u_int" and never negative. Index: usr.sbin/tcpdump/print-bgp.c === RCS file: /cvs/src/usr.sbin/tcpdump/print-bgp.c,v retrieving revision 1.21 diff -u -p -r1.21 print-bgp.c --- usr.sbin/tcpdump/print-bgp.c