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/to_str.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/to_str.c')
-rw-r--r-- | epan/to_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/to_str.c b/epan/to_str.c index 94d6eb0c13..3785256156 100644 --- a/epan/to_str.c +++ b/epan/to_str.c @@ -1044,7 +1044,7 @@ ip_to_str_buf(const guint8 *ad, gchar *buf, const int buf_len) } void -ip6_to_str_buf(const struct e_in6_addr *ad, gchar *buf, int buf_len) +ip6_to_str_buf(const ws_in6_addr *ad, gchar *buf, int buf_len) { if (buf_len < WS_INET6_ADDRSTRLEN) { g_strlcpy(buf, BUF_TOO_SMALL_ERR, buf_len); /* Let the unexpected value alert user */ |