summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print-atm.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/print-atm.c b/print-atm.c
index 5fe6891c..1bbc8e08 100644
--- a/print-atm.c
+++ b/print-atm.c
@@ -20,7 +20,7 @@
*/
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.43 2006-01-22 10:23:09 hannes Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.44 2006-01-25 13:26:37 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -142,6 +142,14 @@ atm_if_print(const struct pcap_pkthdr *h, const u_char *p)
return (caplen);
}
+ /* Cisco Style NLPID ? */
+ if (*p == LLC_UI) {
+ if (eflag)
+ printf("CNLPID ");
+ isoclns_print(p+1, length-1, caplen-1);
+ return hdrlen;
+ }
+
/*
* Extract the presumed LLC header into a variable, for quick
* testing.