summaryrefslogtreecommitdiff
path: root/ui/gtk/sctp_chunk_stat.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/sctp_chunk_stat.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/sctp_chunk_stat.c')
-rw-r--r--ui/gtk/sctp_chunk_stat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gtk/sctp_chunk_stat.c b/ui/gtk/sctp_chunk_stat.c
index 8b85c90ed1..edb5de543d 100644
--- a/ui/gtk/sctp_chunk_stat.c
+++ b/ui/gtk/sctp_chunk_stat.c
@@ -111,8 +111,8 @@ static sctp_ep_t* alloc_sctp_ep(struct _sctp_info *si)
if (!(ep = (sctp_ep_t *)g_malloc(sizeof(sctp_ep_t))))
return NULL;
- COPY_ADDRESS(&ep->src,&si->ip_src);
- COPY_ADDRESS(&ep->dst,&si->ip_dst);
+ copy_address(&ep->src,&si->ip_src);
+ copy_address(&ep->dst,&si->ip_dst);
ep->sport = si->sport;
ep->dport = si->dport;
ep->next = NULL;
@@ -139,8 +139,8 @@ sctpstat_packet(void *phs, packet_info *pinfo _U_, epan_dissect_t *edt _U_, cons
te = hs->ep_list;
} else {
for(tmp=hs->ep_list ; tmp ; tmp=tmp->next) {
- if((!CMP_ADDRESS(&tmp->src,&si->ip_src)) &&
- (!CMP_ADDRESS(&tmp->dst,&si->ip_dst)) &&
+ if((!cmp_address(&tmp->src,&si->ip_src)) &&
+ (!cmp_address(&tmp->dst,&si->ip_dst)) &&
(tmp->sport == si->sport) &&
(tmp->dport == si->dport)) {
te = tmp;