summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-07-28 15:22:30 +0000
committermillert <millert@openbsd.org>1997-07-28 15:22:30 +0000
commitbde4ac1b8a08c544f233410159798071fd08b73e (patch)
tree3b72f26f2c28318290438e2f7140898fcfbce757
parentDynamically allocate space for addr header strings instead of using (diff)
downloadwireguard-openbsd-bde4ac1b8a08c544f233410159798071fd08b73e.tar.xz
wireguard-openbsd-bde4ac1b8a08c544f233410159798071fd08b73e.zip
Make struct in_addr contain an in_addr_t since that's what
in_addr_t is for (same basic type so we don't break anything).
-rw-r--r--sys/netinet/in.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index 4238c797f07..88d7848dc31 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.h,v 1.9 1997/07/02 00:18:55 millert Exp $ */
+/* $OpenBSD: in.h,v 1.10 1997/07/28 15:22:30 millert Exp $ */
/* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */
/*
@@ -122,7 +122,7 @@
* Internet address (a structure for historical reasons)
*/
struct in_addr {
- u_int32_t s_addr;
+ in_addr_t s_addr;
};
/*