]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-mpls.c
Rename the fn_printX() functions to nd_printX()
[tcpdump] / print-mpls.c
index 1ade6e65d9b92b288e7a1a2159ac6de965df5ba8..3d2a2645cfddff9a94139ce5992ef7247db8ce5d 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 {
@@ -212,11 +213,3 @@ mpls_print(netdissect_options *ndo, const u_char *bp, u_int length)
 trunc:
        ND_PRINT("[|MPLS]");
 }
-
-
-/*
- * Local Variables:
- * c-style: whitesmith
- * c-basic-offset: 8
- * End:
- */