From fff180e0747b5e0854b49f19eb58617d8c63d596 Mon Sep 17 00:00:00 2001 From: hannes Date: Fri, 18 Oct 2002 20:08:34 +0000 Subject: [PATCH] MPLS support for CHDLC --- print-chdlc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/print-chdlc.c b/print-chdlc.c index e8e2f72f..b416991c 100644 --- a/print-chdlc.c +++ b/print-chdlc.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.20 2002-10-06 16:35:45 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-chdlc.c,v 1.21 2002-10-18 20:08:34 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -115,6 +115,10 @@ chdlc_print(register const u_char *p, u_int length, u_int caplen) chdlc_cdp_print((const u_char *)ip, length); break; #endif + case ETHERTYPE_MPLS: + case ETHERTYPE_MPLS_MULTI: + mpls_print((const u_char *)(ip), length); + break; case ETHERTYPE_ISO: /* is the fudge byte set ? if yes lets skip a byte */ if (*(p+CHDLC_HDRLEN) == 0) -- 2.39.5