diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2009-07-29 11:29:53 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2009-07-29 11:29:53 +0000 |
commit | 148263ebf09519086649146290349497dcf209a8 (patch) | |
tree | 68b4628ee7aecbf619d7e3004f9b31463598a239 /epan/dissectors/packet-zbee-zdp.c | |
parent | ad942553b3a66ca62760e0f81f7f57a232c74f84 (diff) |
zigbee cluster dissector,
modified from entry in bug 3765 so it compiles cleanly
svn path=/trunk/; revision=29232
Diffstat (limited to 'epan/dissectors/packet-zbee-zdp.c')
-rw-r--r-- | epan/dissectors/packet-zbee-zdp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-zbee-zdp.c b/epan/dissectors/packet-zbee-zdp.c index e6969cf4fa..3193886437 100644 --- a/epan/dissectors/packet-zbee-zdp.c +++ b/epan/dissectors/packet-zbee-zdp.c @@ -1096,7 +1096,12 @@ dissect_zbee_zdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_root = proto_tree_add_protocol_format(tree, proto_zbee_zdp, tvb, offset, tvb_length(tvb), "ZigBee Device Profile"); zdp_tree = proto_item_add_subtree(proto_root, ett_zbee_zdp); } - +#if 0 + /* Overwrite the protocol column */ + if (check_col(pinfo->cinfo, COL_PROTOCOL)) { + col_set_str(pinfo->cinfo, COL_PROTOCOL, "ZigBee ZDP"); + } +#endif /* Get and display the sequence number. */ seqno = tvb_get_guint8(tvb, offset); if (tree) { |