]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-mpls.c
Add the ndo_protocol field in the netdissect_options structure
[tcpdump] / print-mpls.c
index 1ade6e65d9b92b288e7a1a2159ac6de965df5ba8..db9be428fb784cf8e6d8086765e2440944114963 100644 (file)
@@ -64,6 +64,7 @@ mpls_print(netdissect_options *ndo, const u_char *bp, u_int length)
        uint16_t label_stack_depth = 0;
        enum mpls_packet_type pt = PT_UNKNOWN;
 
+       ndo->ndo_protocol = "mpls";
        p = bp;
        ND_PRINT("MPLS");
        do {