X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/163f717ba6b65d259149dfd0e34c8b0666cd46b3..refs/heads/tcpdump-3.8:/print-mpls.c diff --git a/print-mpls.c b/print-mpls.c index 34297dd0..1335a1b2 100644 --- a/print-mpls.c +++ b/print-mpls.c @@ -27,8 +27,8 @@ */ #ifndef lint -static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-mpls.c,v 1.6 2003-02-04 06:26:59 hannes Exp $ (LBL)"; +static const char rcsid[] _U_ = + "@(#) $Header: /tcpdump/master/tcpdump/print-mpls.c,v 1.8.2.2 2003-11-16 08:51:34 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -168,7 +168,7 @@ mpls_print(const u_char *bp, u_int length) case 0x83: if (vflag>0) { printf("\n\t"); - isoclns_print(p, length - (p - bp), length - (p - bp), NULL, NULL); + isoclns_print(p, length - (p - bp), length - (p - bp)); } else printf(", OSI, length: %u",length); break; @@ -184,3 +184,13 @@ trunc: printf("[|MPLS]"); } +/* + * draft-ietf-mpls-lsp-ping-02.txt + */ +void +mpls_lsp_ping_print(const u_char *pptr, u_int length) +{ + printf("UDP, LSP-PING, length: %u", length); + if (vflag >1) + print_unknown_data(pptr,"\n\t ", length); +}