diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-10-23 11:14:34 -0700 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-10-24 01:44:24 +0000 |
commit | 4f39c603c2f0a2e429afedd18cd5c796bbbf8916 (patch) | |
tree | b531dc21b1155c12e41722defdff2e73442ebab2 /plugins/wimax | |
parent | ae130f114cd61443c8c93e1c9280e027726a0235 (diff) | |
download | wireshark-4f39c603c2f0a2e429afedd18cd5c796bbbf8916.tar.gz |
More ADDRESS macro to address function conversions.
Replace remaining calls to SET_ADDRESS, CMP_ADDRESS, ADDRESSES_EQUAL,
COPY_ADDRESS, and COPY_ADDRESS_SHALLOW with their lower-case
equivalents.
Replace all ADD_ADDRESS_TO_HASH calls with add_address_to_hash.
Change-Id: I4cff857d7a84085abe0bccd52d2605d2a468bf6f
Reviewed-on: https://code.wireshark.org/review/11229
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins/wimax')
-rw-r--r-- | plugins/wimax/packet-wmx.c | 2 | ||||
-rw-r--r-- | plugins/wimax/wimax_fch_decoder.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wimax/packet-wmx.c b/plugins/wimax/packet-wmx.c index 9fc792419e..621ef44220 100644 --- a/plugins/wimax/packet-wmx.c +++ b/plugins/wimax/packet-wmx.c @@ -267,7 +267,7 @@ gboolean is_down_link(packet_info *pinfo) if (pinfo->p2p_dir == P2P_DIR_RECV) return TRUE; if (pinfo->p2p_dir == P2P_DIR_UNKNOWN) - if(bs_address.len && !CMP_ADDRESS(&bs_address, &pinfo->src)) + if(bs_address.len && !cmp_address(&bs_address, &pinfo->src)) return TRUE; return FALSE; } diff --git a/plugins/wimax/wimax_fch_decoder.c b/plugins/wimax/wimax_fch_decoder.c index afa3d19a28..2e9d6d213e 100644 --- a/plugins/wimax/wimax_fch_decoder.c +++ b/plugins/wimax/wimax_fch_decoder.c @@ -106,7 +106,7 @@ static void dissect_wimax_fch_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_t /* save the base station address (once) */ if(!bs_address.len) - COPY_ADDRESS(&bs_address, &(pinfo->src)); + copy_address(&bs_address, &(pinfo->src)); /* update the info column */ col_append_sep_str(pinfo->cinfo, COL_INFO, NULL, "FCH"); if (tree) |