#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-juniper.c,v 1.3 2004-10-28 09:36:16 hannes Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-juniper.c,v 1.5 2005-01-25 09:59:40 hannes Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
length-=4;
caplen-=4;
- if (cookie1 & 0x80000000) { /* OAM cell ? */
+ if ((cookie1 >> 24) == 0x80) { /* OAM cell ? */
oam_print(p,length);
+ return 0;
}
if (EXTRACT_24BITS(p) == 0xfefe03 || /* NLPID encaps ? */