diff options
author | richardv <richardv@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-04-19 17:13:49 +0000 |
---|---|---|
committer | richardv <richardv@f5534014-38df-0310-8fa8-9805f1628bb7> | 2007-04-19 17:13:49 +0000 |
commit | 482dd8e7cb8b006653d3f18263b6a61c3089a960 (patch) | |
tree | 44285cb49f35a94411c632469148ce5cabc83af5 /epan/dissectors/packet-juniper.c | |
parent | deda75b1bb89a638e76f78f3964d0309bd605b6c (diff) |
From Hannes Gredler:
attached a small bugfix that uses the correct bits
for determining if the ATM payload is a OAM cell.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21477 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-juniper.c')
-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 */ |