X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/0af21e65ee77fabf8bb8b6ac68627c307ee05a57..41f87a79787f53df8a36796b7029e6c642cb1e23:/print-atm.c?ds=inline diff --git a/print-atm.c b/print-atm.c index 136b99fc..e0df2615 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.38 2005-01-19 16:46:27 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-atm.c,v 1.38.2.1 2005-05-18 20:25:47 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -294,7 +294,7 @@ oam_print (const u_char *p, u_int length) { cell_header = EXTRACT_32BITS(p); cell_type = ((*(p+4))>>4) & 0x0f; - func_type = *(p) & 0x0f; + func_type = *(p+4) & 0x0f; vpi = (cell_header>>20)&0xff; vci = (cell_header>>4)&0xffff;