aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorHal Rosenstock <hal.rosenstock@gmail.com>2017-10-26 19:05:41 +0200
committerAnders Broman <a.broman58@gmail.com>2017-11-04 07:20:24 +0000
commit002133c606b3ae9b4253614f69250dbf306f358b (patch)
tree6f2189a963918661aa3774e21e6eabc1eb142721 /epan
parentb70429427f8264ca726d19910fef23b0ae77f347 (diff)
packet-infiniband: Make unknown PerfMgt attributes show up as PERF in wireshark Info column
Change-Id: I9f6a60adaa0744d13d6c000d1a4e20f3b526355b Signed-off-by: Hal Rosenstock <hal.rosenstock@gmail.com> Reviewed-on: https://code.wireshark.org/review/24231 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-infiniband.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-infiniband.c b/epan/dissectors/packet-infiniband.c
index 17bf6224ed..9d51568707 100644
--- a/epan/dissectors/packet-infiniband.c
+++ b/epan/dissectors/packet-infiniband.c
@@ -3050,6 +3050,7 @@ static void parse_PERF(proto_tree *parentTree, tvbuff_t *tvb, packet_info *pinfo
parse_PERF_PortCountersExtended(parentTree, tvb, pinfo, &local_offset);
break;
default:
+ col_set_str(pinfo->cinfo, COL_INFO, "PERF (Unknown Attribute)");
PERF_header_item = proto_tree_add_item(parentTree, hf_infiniband_smp_data, tvb, local_offset, MAD_DATA_SIZE, ENC_NA);
local_offset += MAD_DATA_SIZE;
proto_item_set_text(PERF_header_item, "%s", "PERF - Performance Management MAD (Dissector Not Implemented)");