diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-10-21 11:46:49 -0700 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-10-22 11:46:12 +0000 |
commit | d9e530bc177553c07bae7594e9b4f8e6235fc0e0 (patch) | |
tree | 481239fdd3662cae66a4c5110b853563be7ca1cd /ui/qt/manage_interfaces_dialog.cpp | |
parent | 86fe2be4dc2f5f5ff09e0d6c00277d7a9bf09ffd (diff) |
Use address functions instead of ADDRESS macros in ui.
Replace CMP_ADDRESS, COPY_ADDRESS, et al with their lower-case
equivalents in the ui directory.
Change-Id: I10e95e66c8da5b880133452ebc484c53046e87ba
Reviewed-on: https://code.wireshark.org/review/11199
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/qt/manage_interfaces_dialog.cpp')
-rw-r--r-- | ui/qt/manage_interfaces_dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/manage_interfaces_dialog.cpp b/ui/qt/manage_interfaces_dialog.cpp index 16e1293c5b..5f1e11ae89 100644 --- a/ui/qt/manage_interfaces_dialog.cpp +++ b/ui/qt/manage_interfaces_dialog.cpp @@ -569,12 +569,12 @@ void ManageInterfacesDialog::addRemoteInterfaces(GList* rlist, remote_options *r addr = (if_addr_t *)curr_addr->data; switch (addr->ifat_type) { case IF_AT_IPv4: - SET_ADDRESS(&addr_str, AT_IPv4, 4, &addr->addr.ip4_addr); + set_address(&addr_str, AT_IPv4, 4, &addr->addr.ip4_addr); temp_addr_str = (char*)address_to_str(NULL, &addr_str); g_string_append(ip_str, temp_addr_str); break; case IF_AT_IPv6: - SET_ADDRESS(&addr_str, AT_IPv6, 16, addr->addr.ip6_addr); + set_address(&addr_str, AT_IPv6, 16, addr->addr.ip6_addr); temp_addr_str = (char*)address_to_str(NULL, &addr_str); g_string_append(ip_str, temp_addr_str); break; |