as Jeff made empty field names "illegal", he changed the way PN-IO and PN-PTCP showed...
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 11 Mar 2007 12:07:43 +0000 (12:07 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 11 Mar 2007 12:07:43 +0000 (12:07 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21019 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/profinet/packet-dcerpc-pn-io.c
plugins/profinet/packet-pn-ptcp.c

index cdc386b4565ab6ac8aaedad96ac15ccd2e7e610f..c652e6b7d6d80377832797d08ab1f3c8ba3ed19e 100644 (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))
index 1227d9cfe4b04d8425a3f76e00be34313baa86ef..958f83a06d5d11f8dfe9dd2b2aadf773129a6330 100644 (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",