summaryrefslogtreecommitdiffstats
path: root/sys/netinet/in.h
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2001-03-23 18:59:31 +0000
committerume <ume@FreeBSD.org>2001-03-23 18:59:31 +0000
commitaabe84d0cbca8d7eed5bd5b81cb33f80bca39a55 (patch)
tree700ba2e4a6b16a6e442280ce6bb1cb2946d327c6 /sys/netinet/in.h
parentaf0ef4a0618c8bc04852f5517a94e7bb9cf23a79 (diff)
downloadFreeBSD-src-aabe84d0cbca8d7eed5bd5b81cb33f80bca39a55.zip
FreeBSD-src-aabe84d0cbca8d7eed5bd5b81cb33f80bca39a55.tar.gz
IPv4 address is not unsigned int. This change introduces in_addr_t.
PR: 9982 Adviced by: des Reviewed by: -alpha and -net (no objection) Obtained from: OpenBSD
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r--sys/netinet/in.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index e7ab99f..65f8a8e 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -232,7 +232,7 @@
* Internet address (a structure for historical reasons)
*/
struct in_addr {
- u_int32_t s_addr;
+ in_addr_t s_addr;
};
/*
OpenPOWER on IntegriCloud