diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-10-26 01:50:00 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-10-26 08:50:34 +0000 |
commit | 458c3c026ed03d17ec7803c61981274ee4574f89 (patch) | |
tree | 9564e9336b594296e9048893ba917025444f4d52 /epan/dissectors/packet-thread.c | |
parent | 0a99d3ef31611db7020d062216c856923ed29fac (diff) |
Add a ws_in6_addr typedef for struct e_in6_addr.
That allows a parallel typedef of ws_in4_addr for guint32.
Change-Id: I03b230247065e0e3840eb87635315a8e523ef562
Reviewed-on: https://code.wireshark.org/review/24073
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-thread.c')
-rw-r--r-- | epan/dissectors/packet-thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-thread.c b/epan/dissectors/packet-thread.c index d4749b7042..7a5df00c5e 100644 --- a/epan/dissectors/packet-thread.c +++ b/epan/dissectors/packet-thread.c @@ -1385,7 +1385,7 @@ dissect_thread_mc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat expert_add_info(pinfo, proto_root, &ei_thread_mc_len_size_mismatch); proto_tree_add_item(tlv_tree, hf_thread_mc_tlv_unknown, tvb, offset, tlv_len, ENC_NA); } else { - struct e_in6_addr prefix; + ws_in6_addr prefix; memset(&prefix, 0, sizeof(prefix)); tvb_memcpy(tvb, (guint8 *)&prefix.bytes, offset, tlv_len); @@ -1947,7 +1947,7 @@ dissect_thread_nwd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *da { guint8 prefix_len; guint8 prefix_byte_len; - struct e_in6_addr prefix; + ws_in6_addr prefix; address prefix_addr; /* Domain ID */ |