]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-isoclns.c
add PPP to the ISO nlpid printer
[tcpdump] / print-isoclns.c
index c3eb44191f9f1b5af44968a61870485477c7d86e..f134ed7ab52dcac6ae28fc688e60ab448cc66410 100644 (file)
@@ -26,7 +26,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.123 2004-10-18 12:34:36 hannes Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-isoclns.c,v 1.124 2004-10-19 15:27:55 hannes Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -528,6 +528,10 @@ void isoclns_print(const u_int8_t *p, u_int length, u_int caplen)
                 break;
 #endif
 
+        case NLPID_PPP:
+                ppp_print(p+1, length-1);
+                break;
+
        default:
                (void)printf(", length: %u", length);
                if (caplen > 1)