diff options
author | Michael Mann <mmann78@netscape.net> | 2015-01-07 19:24:52 -0500 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-01-08 07:18:09 +0000 |
commit | cff098e3eb6a871a1e39559d27b33dc3a3437c2c (patch) | |
tree | f4ec6b456958bd5ebf0ba5204f5424f8c477838a /epan/dissectors/packet-dtpt.c | |
parent | 5d610b58c5c45c0bb555d227a684785a0721f434 (diff) |
guid_to_ep_str -> guid_to_str
guid_to_str now uses wmem allocation.
Change-Id: I8e48d1a720942fbefbaa6227ae0929cb9f856359
Reviewed-on: https://code.wireshark.org/review/6391
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-dtpt.c')
-rw-r--r-- | epan/dissectors/packet-dtpt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dtpt.c b/epan/dissectors/packet-dtpt.c index 2e245fb8a2..533dac60a0 100644 --- a/epan/dissectors/packet-dtpt.c +++ b/epan/dissectors/packet-dtpt.c @@ -282,7 +282,7 @@ dissect_dtpt_guid(tvbuff_t *tvb, guint offset, proto_tree *tree, int hfindex) guid_name = guids_get_guid_name(&guid); if (guid_name != NULL) proto_item_set_text(dtpt_guid_item, "%s: %s (%s)", - proto_registrar_get_name(hfindex), guid_name, guid_to_ep_str(&guid)); + proto_registrar_get_name(hfindex), guid_name, guid_to_str(wmem_packet_scope(), &guid)); dtpt_guid_tree = proto_item_add_subtree(dtpt_guid_item, ett_dtpt_guid); } if (dtpt_guid_tree) { @@ -296,7 +296,7 @@ dissect_dtpt_guid(tvbuff_t *tvb, guint offset, proto_tree *tree, int hfindex) if (guid_name != NULL && dtpt_guid_data_item != NULL) { proto_item_set_text(dtpt_guid_data_item, "%s: %s (%s)", proto_registrar_get_name(hf_dtpt_guid_data), - guid_name, guid_to_ep_str(&guid)); + guid_name, guid_to_str(wmem_packet_scope(), &guid)); } } } |