diff options
author | Richard van der Hoff <richardv@mxtelecom.com> | 2007-04-19 17:13:49 +0000 |
---|---|---|
committer | Richard van der Hoff <richardv@mxtelecom.com> | 2007-04-19 17:13:49 +0000 |
commit | 5c50b6f96f60a8fb949172ee02dc82d2dbf2bc1b (patch) | |
tree | 44285cb49f35a94411c632469148ce5cabc83af5 | |
parent | e12cf1df47353fe2f7e36424f3a75a5a68046c28 (diff) |
From Hannes Gredler:
attached a small bugfix that uses the correct bits
for determining if the ATM payload is a OAM cell.
svn path=/trunk/; revision=21477
-rw-r--r-- | epan/dissectors/packet-juniper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-juniper.c b/epan/dissectors/packet-juniper.c index 50576af102..e17f9c6c7c 100644 --- a/epan/dissectors/packet-juniper.c +++ b/epan/dissectors/packet-juniper.c @@ -1100,7 +1100,7 @@ dissect_juniper_atm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint16 case JUNIPER_PIC_ATM2: tisub = proto_tree_add_uint64(juniper_subtree, hf_juniper_atm2_cookie, tvb, offset, 8, cookie2); offset += atm2_header_len; - if (cookie2 & 0x7000) /* OAM cell ? */ + if (cookie2 & 0x70) /* OAM cell ? */ next_proto = PROTO_OAM; break; default: /* should not happen */ |