aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rx.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-04-19 12:29:50 -0700
committerGuy Harris <guy@alum.mit.edu>2014-04-19 19:30:17 +0000
commit97869f2dec0a8cce8ff1745a0bbd747da7a2e1e7 (patch)
treea52e5ae2fe9d04877c951225007f43c145c9ab96 /epan/dissectors/packet-rx.c
parentc8f7e16b57ed02dd5b4ccba7ec16ac37ae37beb6 (diff)
More name changes.
Add ep_ to routines that may return ephemeral strings. Change "get_XXX" to "XXX_to_display" if the routine returns a formatted string if it can't get a name. Change-Id: Ia0e82784349752cf4285bf82788316c9588fdd88 Reviewed-on: https://code.wireshark.org/review/1217 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-rx.c')
-rw-r--r--epan/dissectors/packet-rx.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/packet-rx.c b/epan/dissectors/packet-rx.c
index 1cd1871e30..74ddd5968b 100644
--- a/epan/dissectors/packet-rx.c
+++ b/epan/dissectors/packet-rx.c
@@ -204,8 +204,8 @@ dissect_rx_response(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree,
"Destination Port: %s ",
(unsigned long)seq,
(unsigned long)callnumber,
- get_udp_port(pinfo->srcport),
- get_udp_port(pinfo->destport)
+ ep_udp_port_to_display(pinfo->srcport),
+ ep_udp_port_to_display(pinfo->destport)
);
item = proto_tree_add_item(parent_tree, hf_rx_response, tvb, offset, -1, ENC_NA);
@@ -257,8 +257,8 @@ dissect_rx_abort(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int
"Destination Port: %s ",
(unsigned long)seq,
(unsigned long)callnumber,
- get_udp_port(pinfo->srcport),
- get_udp_port(pinfo->destport)
+ ep_udp_port_to_display(pinfo->srcport),
+ ep_udp_port_to_display(pinfo->destport)
);
item = proto_tree_add_item(parent_tree, hf_rx_abort, tvb, offset, -1, ENC_NA);
@@ -289,8 +289,8 @@ dissect_rx_challenge(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree,
"Destination Port: %s ",
(unsigned long)seq,
(unsigned long)callnumber,
- get_udp_port(pinfo->srcport),
- get_udp_port(pinfo->destport)
+ ep_udp_port_to_display(pinfo->srcport),
+ ep_udp_port_to_display(pinfo->destport)
);
item = proto_tree_add_item(parent_tree, hf_rx_challenge, tvb, offset, -1, ENC_NA);
@@ -329,8 +329,8 @@ dissect_rx_acks(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int
"Destination Port: %s ",
(unsigned long)seq,
(unsigned long)callnumber,
- get_udp_port(pinfo->srcport),
- get_udp_port(pinfo->destport)
+ ep_udp_port_to_display(pinfo->srcport),
+ ep_udp_port_to_display(pinfo->destport)
);
item = proto_tree_add_item(parent_tree, hf_rx_ack, tvb, offset, -1, ENC_NA);
@@ -550,8 +550,8 @@ dissect_rx(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *dat
"Destination Port: %s ",
(unsigned long)seq,
(unsigned long)callnumber,
- get_udp_port(pinfo->srcport),
- get_udp_port(pinfo->destport)
+ ep_udp_port_to_display(pinfo->srcport),
+ ep_udp_port_to_display(pinfo->destport)
);
break;
case RX_PACKET_TYPE_CHALLENGE: