diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-23 22:58:45 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-10-23 22:58:45 +0000 |
commit | 1501c3077b6aa8261fa20c60253fbb4556ef8e14 (patch) | |
tree | fd74f7a4c2d4a44f5a145561dc897bbb452c128d /epan/dissectors/packet-cip.c | |
parent | ed4e4246c3f3c1c8253e0f7fbafbf0dbea73a6a1 (diff) |
Replace use of tvb_get_ephemeral_faked_unicode() by use of tvb_get_ephemeral_unicode_string();
Fix encoding arg as needed.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39530 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-cip.c')
-rw-r--r-- | epan/dissectors/packet-cip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cip.c b/epan/dissectors/packet-cip.c index e3edb9777f..64939e3c50 100644 --- a/epan/dissectors/packet-cip.c +++ b/epan/dissectors/packet-cip.c @@ -2914,7 +2914,7 @@ dissect_cip_cco_all_attribute_common( proto_tree *cmd_tree, tvbuff_t *tvb, int o /* Connection Name */ connection_name_size = tvb_get_guint8( tvb, offset+variable_data_size); - str_connection_name = tvb_get_ephemeral_faked_unicode(tvb, offset+variable_data_size+2, connection_name_size, ENC_LITTLE_ENDIAN); + str_connection_name = tvb_get_ephemeral_unicode_string(tvb, offset+variable_data_size+2, connection_name_size, ENC_LITTLE_ENDIAN); proto_tree_add_text(cmd_tree, tvb, offset+variable_data_size, connection_name_size+2, "Connection Name: %s", str_connection_name); variable_data_size += ((connection_name_size*2)+2); |