summaryrefslogtreecommitdiff
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-06-01 22:22:46 +0100
committerMichael Mann <mmann78@netscape.net>2016-06-06 22:00:41 +0000
commitf1ff3208a055f462e69c9ac7479271aecf784d79 (patch)
tree51809fa94142090dd57fbd7d006c60d1016da4b2 /wiretap/wtap.h
parent528edba87ae6a6ffd951bdd137421910ea88d964 (diff)
downloadwireshark-f1ff3208a055f462e69c9ac7479271aecf784d79.tar.gz
Move ip6_to_str_buf() to to_str.c and make it take the buffer length.
Also make it use ws_inet_ntop6() (rather than implementing the string conversion ourselves). Remove ip6_to_str_buf_len(). Change-Id: I1eff3a8941e00987c2ff0c4dcfda13476af86191 Reviewed-on: https://code.wireshark.org/review/15692 Reviewed-by: João Valverde <j@v6e.pt> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 2a4d3ddb0a..6d257ea002 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1321,7 +1321,7 @@ typedef struct hashipv4 {
typedef struct hashipv6 {
guint8 addr[16];
guint8 flags; /* B0 dummy_entry, B1 resolve, B2 If the address is used in the trace */
- gchar ip6[40];
+ gchar ip6[46];
gchar name[MAXNAMELEN];
} hashipv6_t;