Commit 611ec5dd authored by Mark Andrews's avatar Mark Andrews
Browse files

1907. [bug] Extend ISC_SOCKADDR_FORMATSIZE and

                        ISC_NETADDR_FORMATSIZE to allow for scope details.
parent 6f2f9dd4
1907. [bug] Extend ISC_SOCKADDR_FORMATSIZE and
ISC_NETADDR_FORMATSIZE to allow for scope details.
1906. [func] x86 and x86_64 now have seperate atomic locking
implementations.
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: netaddr.h,v 1.29 2005/04/27 04:57:19 sra Exp $ */
/* $Id: netaddr.h,v 1.30 2005/07/28 04:54:17 marka Exp $ */
#ifndef ISC_NETADDR_H
#define ISC_NETADDR_H 1
......@@ -91,7 +91,7 @@ isc_netaddr_format(const isc_netaddr_t *na, char *array, unsigned int size);
*/
#define ISC_NETADDR_FORMATSIZE \
sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:XXX.XXX.XXX.XXX")
sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:XXX.XXX.XXX.XXX%SSSSSSSSSS")
/*%<
* Minimum size of array to pass to isc_netaddr_format().
*/
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: sockaddr.h,v 1.48 2005/07/18 05:59:00 marka Exp $ */
/* $Id: sockaddr.h,v 1.49 2005/07/28 04:54:17 marka Exp $ */
#ifndef ISC_SOCKADDR_H
#define ISC_SOCKADDR_H 1
......@@ -230,7 +230,7 @@ isc_sockaddr_frompath(isc_sockaddr_t *sockaddr, const char *path);
*/
#define ISC_SOCKADDR_FORMATSIZE \
sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:XXX.XXX.XXX.XXX#YYYYY")
sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:XXX.XXX.XXX.XXX%SSSSSSSSSS#YYYYY")
/*%<
* Minimum size of array to pass to isc_sockaddr_format().
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment