mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
Add ISC_SOCKADDR_FORMATSIZE macro.
This commit is contained in:
@@ -119,6 +119,9 @@ isc_sockaddr_format(isc_sockaddr_t *sa, char *array, unsigned int size);
|
|||||||
* The resulting string is guaranteed to be null-terminated.
|
* The resulting string is guaranteed to be null-terminated.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#define ISC_SOCKADDR_FORMATSIZE \
|
||||||
|
sizeof("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:XXX.XXX.XXX.XXX#YYYYY")
|
||||||
|
|
||||||
ISC_LANG_ENDDECLS
|
ISC_LANG_ENDDECLS
|
||||||
|
|
||||||
#endif /* ISC_SOCKADDR_H */
|
#endif /* ISC_SOCKADDR_H */
|
||||||
|
Reference in New Issue
Block a user