aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/endpoint_dialog.cpp
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-10-26 01:50:00 -0700
committerGuy Harris <guy@alum.mit.edu>2017-10-26 08:50:34 +0000
commit458c3c026ed03d17ec7803c61981274ee4574f89 (patch)
tree9564e9336b594296e9048893ba917025444f4d52 /ui/qt/endpoint_dialog.cpp
parent0a99d3ef31611db7020d062216c856923ed29fac (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 'ui/qt/endpoint_dialog.cpp')
-rw-r--r--ui/qt/endpoint_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/endpoint_dialog.cpp b/ui/qt/endpoint_dialog.cpp
index bc871c6b82..3d388ce9f9 100644
--- a/ui/qt/endpoint_dialog.cpp
+++ b/ui/qt/endpoint_dialog.cpp
@@ -316,7 +316,7 @@ public:
if (endp_item->myaddress.type == AT_IPv4) {
geoip_str = geoip_db_lookup_ipv4(db, pntoh32(endp_item->myaddress.data), NULL);
} else if (endp_item->myaddress.type == AT_IPv6) {
- const struct e_in6_addr *addr = (const struct e_in6_addr *) endp_item->myaddress.data;
+ const ws_in6_addr *addr = (const ws_in6_addr *) endp_item->myaddress.data;
geoip_str = geoip_db_lookup_ipv6(db, *addr, NULL);
}
if (!geoip_str.isEmpty()) {