aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2011-05-05 20:48:21 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2011-05-05 20:48:21 +0000
commit453d0a85686e332798ba43164c60947abfbefbd0 (patch)
tree584ed98bf2f60e687b9c4d09ebc01dd05457d455 /epan/to_str.h
parent1792f8e3a6e8baba0e95e3719e0c862cb38ac106 (diff)
Introduce ip6_to_str_buf_len (little cleaner version of inet_ntop6 from wsutil/inet_ntop.c)
and use it instead of inet_ntop(AF_INET6, ...) - Add MAX_IP6_STR_LEN define. - use MAX_IP6_STR_LEN as a buffer size when ip6_to_str_buf() is used. svn path=/trunk/; revision=37000
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index 5526f8b5d0..9467c4ee4d 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -33,6 +33,7 @@
#define GUID_STR_LEN 37
#define MAX_IP_STR_LEN 16
+#define MAX_IP6_STR_LEN 40
#define MAX_ADDR_STR_LEN 256
#define VINES_ADDR_LEN 6