diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-09-16 21:33:26 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-09-16 21:33:26 +0000 |
commit | 945901af7004695fae1f6443861b7b888da8ae14 (patch) | |
tree | 34eaf1cac2d9a10acee9c4ef6b4ca565a9208620 /ui/qt/tcp_stream_dialog.cpp | |
parent | 7d6899b96b1b4c757fc10da89f21459c70af5779 (diff) |
address_equal → addresses_equal. Switch from address macros to functions
in the Qt code.
svn path=/trunk/; revision=52108
Diffstat (limited to 'ui/qt/tcp_stream_dialog.cpp')
-rw-r--r-- | ui/qt/tcp_stream_dialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/qt/tcp_stream_dialog.cpp b/ui/qt/tcp_stream_dialog.cpp index e12fd0cb49..8b22ad5881 100644 --- a/ui/qt/tcp_stream_dialog.cpp +++ b/ui/qt/tcp_stream_dialog.cpp @@ -154,9 +154,9 @@ TCPStreamDialog::TCPStreamDialog(QWidget *parent, capture_file *cf, tcp_graph_ty memset (&graph_, 0, sizeof(graph_)); graph_.type = graph_type; - COPY_ADDRESS(&graph_.src_address, ¤t.ip_src); + copy_address(&graph_.src_address, ¤t.ip_src); graph_.src_port = current.th_sport; - COPY_ADDRESS(&graph_.dst_address, ¤t.ip_dst); + copy_address(&graph_.dst_address, ¤t.ip_dst); graph_.dst_port = current.th_dport; graph_.stream = header->th_stream; findStream(); @@ -1136,11 +1136,11 @@ void TCPStreamDialog::on_actionSwitchDirection_triggered() address tmp_addr; guint16 tmp_port; - COPY_ADDRESS(&tmp_addr, &graph_.src_address); + copy_address(&tmp_addr, &graph_.src_address); tmp_port = graph_.src_port; - COPY_ADDRESS(&graph_.src_address, &graph_.dst_address); + copy_address(&graph_.src_address, &graph_.dst_address); graph_.src_port = graph_.dst_port; - COPY_ADDRESS(&graph_.dst_address, &tmp_addr); + copy_address(&graph_.dst_address, &tmp_addr); graph_.dst_port = tmp_port; fillGraph(); |