summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-04-10 11:59:02 +0000
committermike <mike@FreeBSD.org>2002-04-10 11:59:02 +0000
commit4100d7ad0fd1685daadebee6380b55dc43d1a944 (patch)
tree343d705b6d7660e6592c89ec8d418809aa1193c0 /sys/netinet/in.h
parent8928105d9796e7aabbdd1f6c4d66c3d55cadb77f (diff)
downloadFreeBSD-src-4100d7ad0fd1685daadebee6380b55dc43d1a944.zip
FreeBSD-src-4100d7ad0fd1685daadebee6380b55dc43d1a944.tar.gz
Unconditionalize the definition of INET_ADDRSTRLEN and
INET6_ADDRSTRLEN. Doing this helps expose bogus redefinitions in 3rd party software.
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r--sys/netinet/in.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index 893cc9b..92c8688 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -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.
OpenPOWER on IntegriCloud