aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-alcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-alcap.c')
-rw-r--r--epan/dissectors/packet-alcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-alcap.c b/epan/dissectors/packet-alcap.c
index 7be45e4c89..147a1fdb51 100644
--- a/epan/dissectors/packet-alcap.c
+++ b/epan/dissectors/packet-alcap.c
@@ -593,7 +593,7 @@ static const gchar* dissect_fields_dnsea(packet_info* pinfo _U_, tvbuff_t *tvb,
return NULL;
}
- msg_info->dest_nsap = tvb_bytes_to_ep_str(tvb,offset,20);
+ msg_info->dest_nsap = tvb_bytes_to_str(wmem_packet_scope(), tvb,offset,20);
proto_tree_add_item(tree, hf_alcap_dnsea, tvb, offset, 20, ENC_NA);
dissect_nsap(tvb, offset,20, tree);
@@ -613,7 +613,7 @@ static const gchar* dissect_fields_onsea(packet_info* pinfo _U_, tvbuff_t *tvb,
return NULL;
}
- msg_info->orig_nsap = tvb_bytes_to_ep_str(tvb,offset,20);
+ msg_info->orig_nsap = tvb_bytes_to_str(wmem_packet_scope(), tvb,offset,20);
proto_tree_add_item(tree, hf_alcap_onsea, tvb, offset, 20, ENC_NA);
dissect_nsap(tvb, offset,20, tree);