aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-udp.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-01-07 16:24:17 -0500
committerAnders Broman <a.broman58@gmail.com>2015-01-08 05:32:32 +0000
commit22096781499c7159ff504f7baa743d295aad06bc (patch)
treedb03b06970119f83d9b33c2920236d398e3a9ca1 /epan/dissectors/packet-udp.c
parent907d145f86dd4fb219dcb5b2efcac106bc708de7 (diff)
ep_<protocol>_port_to_display -> <protocol>_port_to_display
Adjust any other ep_ related APIs related to the transition. Change-Id: I961b371c2c4bda557e0f1817705c27eef0dae66c Reviewed-on: https://code.wireshark.org/review/6388 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-udp.c')
-rw-r--r--epan/dissectors/packet-udp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-udp.c b/epan/dissectors/packet-udp.c
index 02cc1fb8f1..d7c51af450 100644
--- a/epan/dissectors/packet-udp.c
+++ b/epan/dissectors/packet-udp.c
@@ -581,8 +581,8 @@ dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 ip_proto)
udph->uh_sport=tvb_get_ntohs(tvb, offset);
udph->uh_dport=tvb_get_ntohs(tvb, offset+2);
- src_port_str = ep_udp_port_to_display(udph->uh_sport);
- dst_port_str = ep_udp_port_to_display(udph->uh_dport);
+ src_port_str = udp_port_to_display(wmem_packet_scope(), udph->uh_sport);
+ dst_port_str = udp_port_to_display(wmem_packet_scope(), udph->uh_dport);
col_add_lstr(pinfo->cinfo, COL_INFO,
"Source port: ", src_port_str, " "