]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-mpls.c
Fix mkdep invocations.
[tcpdump] / print-mpls.c
index 5c26e4f9b2a1a48c8d3555113766e5e165cddb4f..9d773214d3d7feb18384d94b3bb0c02aed762cc4 100644 (file)
@@ -72,7 +72,7 @@ mpls_print(netdissect_options *ndo, const u_char *bp, u_int length)
                        ND_PRINT((ndo, "[|MPLS], length %u", length));
                        return;
                }
-               label_entry = EXTRACT_32BITS(p);
+               label_entry = EXTRACT_BE_U_4(p);
                ND_PRINT((ndo, "%s(label %u",
                       (label_stack_depth && ndo->ndo_vflag) ? "\n\t" : " ",
                               MPLS_LABEL(label_entry)));