aboutsummaryrefslogtreecommitdiffstats
path: root/capchild
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 /capchild
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 'capchild')
-rw-r--r--capchild/capture_ifinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capchild/capture_ifinfo.c b/capchild/capture_ifinfo.c
index d158cabe81..0fd61a0dba 100644
--- a/capchild/capture_ifinfo.c
+++ b/capchild/capture_ifinfo.c
@@ -184,7 +184,7 @@ capture_interface_list(int *err, char **err_str, void (*update_cb)(void))
if_addr = g_new0(if_addr_t,1);
if (ws_inet_pton4(addr_parts[j], &if_addr->addr.ip4_addr)) {
if_addr->ifat_type = IF_AT_IPv4;
- } else if (ws_inet_pton6(addr_parts[j], (struct e_in6_addr *)&if_addr->addr.ip6_addr)) {
+ } else if (ws_inet_pton6(addr_parts[j], (ws_in6_addr *)&if_addr->addr.ip6_addr)) {
if_addr->ifat_type = IF_AT_IPv6;
} else {
g_free(if_addr);