]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-mpls.c
- add support for return code values
[tcpdump] / print-mpls.c
index 67e974bb36122790f8b490786384e9c7bb5f7633..c56f2643fdb7de9091e303b30d1282489c17b442 100644 (file)
@@ -27,8 +27,8 @@
  */
 
 #ifndef lint
-static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-mpls.c,v 1.7 2003-05-08 15:05:41 hannes Exp $ (LBL)";
+static const char rcsid[] _U_ =
+    "@(#) $Header: /tcpdump/master/tcpdump/print-mpls.c,v 1.11 2004-06-06 19:20:04 hannes 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;
@@ -183,14 +183,3 @@ mpls_print(const u_char *bp, u_int length)
 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);
-}