]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-bgp.c
Introduce --time-stamp-precision
[tcpdump] / print-bgp.c
index 74d7a560dfee090dbf18ba808cb4180d3fa99895..f5c02a1be985ae3c4d20e5ed5571db92a30a589a 100644 (file)
@@ -806,7 +806,7 @@ decode_mdt_vpn_nlri(netdissect_options *ndo,
     ND_TCHECK(pptr[0]);
 
     /* if the NLRI is not predefined length, quit.*/
-    if (*pptr != MDT_VPN_NLRI_LEN * NBBY)
+    if (*pptr != MDT_VPN_NLRI_LEN * 8)
        return -1;
     pptr++;