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
This commit is contained in:
Ulf Lamping 2007-03-11 12:07:43 +00:00
parent 62596bffb3
commit c3bf838051
2 changed files with 2 additions and 2 deletions

View File

@ -4571,7 +4571,7 @@ dissect_block(tvbuff_t *tvb, int offset,
val_to_str(u16BlockType, pn_io_block_type, "Unknown (0x%04x)"),
u16BlockLength, u8BlockVersionHigh, u8BlockVersionLow);
proto_item_append_text(sub_item, "%s",
proto_item_set_text(sub_item, "%s",
val_to_str(u16BlockType, pn_io_block_type, "Unknown (0x%04x)"));
if (check_col(pinfo->cinfo, COL_INFO))

View File

@ -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",