1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Unconditionalize the definition of INET_ADDRSTRLEN and

INET6_ADDRSTRLEN.  Doing this helps expose bogus redefinitions in 3rd
party software.
This commit is contained in:
Mike Barcroft 2002-04-10 11:59:02 +00:00
parent 56397b300c
commit 13c3fcc238
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=94357
2 changed files with 0 additions and 4 deletions

View File

@ -324,9 +324,7 @@ struct sockaddr_in {
char sin_zero[8];
};
#ifndef INET_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
#endif
/*
* Options for use with [gs]etsockopt at the IP level.

View File

@ -132,9 +132,7 @@ struct in6_addr {
#define s6_addr32 __u6_addr.__u6_addr32
#endif
#ifndef INET6_ADDRSTRLEN
#define INET6_ADDRSTRLEN 46
#endif
/*
* Socket address for IPv6