summaryrefslogtreecommitdiff
path: root/ui/tap-sctp-analysis.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/tap-sctp-analysis.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/tap-sctp-analysis.c')
-rw-r--r--ui/tap-sctp-analysis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/tap-sctp-analysis.c b/ui/tap-sctp-analysis.c
index 6e3db28f4c..4df0dc4128 100644
--- a/ui/tap-sctp-analysis.c
+++ b/ui/tap-sctp-analysis.c
@@ -247,7 +247,7 @@ add_chunk_count(address *vadd, sctp_assoc_info_t *info, guint32 direction, guint
if (ch->direction == direction)
{
v = (address *) (ch->addr);
- if (ADDRESSES_EQUAL(vadd, v))
+ if (addresses_equal(vadd, v))
{
if (IS_SCTP_CHUNK_TYPE(type))
ch->addr_count[type]++;
@@ -297,7 +297,7 @@ add_address(address *vadd, sctp_assoc_info_t *info, guint16 direction)
while (list)
{
v = (address *) (list->data);
- if (ADDRESSES_EQUAL(vadd, v)) {
+ if (addresses_equal(vadd, v)) {
g_free(vadd);
return info;
}