]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-lldp.c
Clean up types to squelch narrowing warnings.
[tcpdump] / print-lldp.c
index 054a961782ddf8d35a3a41c1d77b17d581fd4d71..a16e08417df1f15b9ba7f1f07b43c52359d49059 100644 (file)
@@ -1166,7 +1166,8 @@ lldp_private_dcbx_print(netdissect_options *ndo,
     uint8_t tval;
     uint16_t tlv;
     uint32_t i, pgval, uval;
-    u_int tlen, tlv_type, tlv_len;
+    u_int tlen, tlv_type;
+    uint16_t tlv_len;
     const u_char *tptr, *mptr;
 
     if (len < 4) {