summaryrefslogtreecommitdiff
path: root/ui/gtk/hostlist_table.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-10-21 11:46:49 -0700
committerMichael Mann <mmann78@netscape.net>2015-10-22 11:46:12 +0000
commitd9e530bc177553c07bae7594e9b4f8e6235fc0e0 (patch)
tree481239fdd3662cae66a4c5110b853563be7ca1cd /ui/gtk/hostlist_table.c
parent86fe2be4dc2f5f5ff09e0d6c00277d7a9bf09ffd (diff)
downloadwireshark-d9e530bc177553c07bae7594e9b4f8e6235fc0e0.tar.gz
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/gtk/hostlist_table.c')
-rw-r--r--ui/gtk/hostlist_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/hostlist_table.c b/ui/gtk/hostlist_table.c
index 34f43a11ef..5669510395 100644
--- a/ui/gtk/hostlist_table.c
+++ b/ui/gtk/hostlist_table.c
@@ -169,7 +169,7 @@ hostlist_sort_column(GtkTreeModel *model,
switch(data_column){
case ENDP_COLUMN_ADDR: /* Address */
- return(CMP_ADDRESS(&host1->myaddress, &host2->myaddress));
+ return(cmp_address(&host1->myaddress, &host2->myaddress));
case ENDP_COLUMN_PORT: /* (Port) */
CMP_INT(host1->port, host2->port);
#ifdef HAVE_GEOIP