diff options
author | Michael Mann <mmann78@netscape.net> | 2015-01-07 16:24:17 -0500 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-01-08 05:32:32 +0000 |
commit | 22096781499c7159ff504f7baa743d295aad06bc (patch) | |
tree | db03b06970119f83d9b33c2920236d398e3a9ca1 /ui/qt/follow_stream_dialog.cpp | |
parent | 907d145f86dd4fb219dcb5b2efcac106bc708de7 (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 'ui/qt/follow_stream_dialog.cpp')
-rw-r--r-- | ui/qt/follow_stream_dialog.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/ui/qt/follow_stream_dialog.cpp b/ui/qt/follow_stream_dialog.cpp index 06742f4d97..4a4d825bdd 100644 --- a/ui/qt/follow_stream_dialog.cpp +++ b/ui/qt/follow_stream_dialog.cpp @@ -1088,16 +1088,16 @@ bool FollowStreamDialog::follow(QString previous_filter, bool use_stream_index) switch (follow_type_) { case FOLLOW_TCP: - port0 = ep_tcp_port_to_display(stats.port[0]); - port1 = ep_tcp_port_to_display(stats.port[1]); + port0 = tcp_port_to_display(NULL, stats.port[0]); + port1 = tcp_port_to_display(NULL, stats.port[1]); break; case FOLLOW_UDP: - port0 = ep_udp_port_to_display(stats.port[0]); - port1 = ep_udp_port_to_display(stats.port[1]); + port0 = udp_port_to_display(NULL, stats.port[0]); + port1 = udp_port_to_display(NULL, stats.port[1]); break; case FOLLOW_SSL: - port0 = ep_tcp_port_to_display(stats.port[0]); - port1 = ep_tcp_port_to_display(stats.port[1]); + port0 = tcp_port_to_display(NULL, stats.port[0]); + port1 = tcp_port_to_display(NULL, stats.port[1]); break; } @@ -1195,6 +1195,9 @@ bool FollowStreamDialog::follow(QString previous_filter, bool use_stream_index) } } + wmem_free(NULL, port0); + wmem_free(NULL, port1); + /* Both Stream Directions */ switch (follow_type_) { |