X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fsnap%2Fsnap.c;h=8609c6565723015ce544a81a3b7f42dcc8a0af87;hb=d3c008d108aa2187d1a2afe2833b4de25ca2c2ab;hp=64482bfcfbbf83b641c3e7a3c75ebef46846468b;hpb=9bce0f6d7c3f7f1d5f2989ff1157c2a1039cdef6;p=vpp.git diff --git a/src/vnet/snap/snap.c b/src/vnet/snap/snap.c index 64482bfcfbb..8609c656572 100644 --- a/src/vnet/snap/snap.c +++ b/src/vnet/snap/snap.c @@ -91,7 +91,7 @@ format_snap_header_with_length (u8 * s, va_list * args) snap_header_t *h = va_arg (*args, snap_header_t *); snap_protocol_info_t *pi = snap_get_protocol_info (sm, h); u32 max_header_bytes = va_arg (*args, u32); - uword indent, header_bytes; + u32 indent, header_bytes; header_bytes = sizeof (h[0]); if (max_header_bytes != 0 && header_bytes > max_header_bytes)