diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2007-03-11 12:07:43 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2007-03-11 12:07:43 +0000 |
commit | c3bf838051493f13629c5a033cc594a27d61aa4a (patch) | |
tree | 459b0c1557fd6dd1cfd627437c595359861559a4 /plugins/profinet/packet-pn-ptcp.c | |
parent | 62596bffb345b81dfea4d8eccf69ca07a1972576 (diff) |
as Jeff made empty field names "illegal", he changed the way PN-IO and PN-PTCP showed their blocks in an unwanted way - fix it
svn path=/trunk/; revision=21019
Diffstat (limited to 'plugins/profinet/packet-pn-ptcp.c')
-rw-r--r-- | plugins/profinet/packet-pn-ptcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/profinet/packet-pn-ptcp.c b/plugins/profinet/packet-pn-ptcp.c index 1227d9cfe4..958f83a06d 100644 --- a/plugins/profinet/packet-pn-ptcp.c +++ b/plugins/profinet/packet-pn-ptcp.c @@ -436,7 +436,7 @@ dissect_PNPTCP_block(tvbuff_t *tvb, int offset, offset = dissect_PNPTCP_TLVHeader(tvb, offset, pinfo, tlvheader_tree, sub_item, &type, &length); - proto_item_append_text(sub_item, "%s", + proto_item_set_text(sub_item, "%s", val_to_str(type, pn_ptcp_block_type, "Unknown")); proto_item_append_text(tlvheader_item, ": Type=%s (%x), Length=%u", |