diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2011-09-25 16:31:14 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2011-09-25 16:31:14 +0000 |
commit | 5be0ca9150a52ade7539ac98050f076cf35f22fb (patch) | |
tree | b908384877bb23d8556351beec9e0dee47e65b2f /epan/dissectors/packet-classicstun.c | |
parent | 1d113b0dc84475b65734fb95460bb0cc773a1cd0 (diff) |
From Glenn Matthews via bug 6319:
Add dissector for XMCP protocol.
From me:
- Fixed an obvious bug setting transaction_id_key[2].key = NULL,
where transaction_id_key is defined with only 2 elements.
- Only register heur_dissector once.
- Only find media_type_dissector_table once.
- Added packet-xmcp.c to CMakeLists.txt
svn path=/trunk/; revision=39131
Diffstat (limited to 'epan/dissectors/packet-classicstun.c')
-rw-r--r-- | epan/dissectors/packet-classicstun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-classicstun.c b/epan/dissectors/packet-classicstun.c index 140b557423..239284466f 100644 --- a/epan/dissectors/packet-classicstun.c +++ b/epan/dissectors/packet-classicstun.c @@ -242,7 +242,8 @@ dissect_classicstun(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) msg_type = tvb_get_ntohs(tvb, 0); - if (msg_type & 0xC000 || tvb_get_ntohl(tvb, 4) == 0x2112a442) + if (msg_type & 0xC000 || tvb_get_ntohl(tvb, 4) == 0x2112a442 /* New STUN */ + || tvb_get_ntohl(tvb, 4) == 0x7f5a9bc7) /* XMCP */ return 0; /* check if message type is correct */ |