summaryrefslogtreecommitdiff
path: root/usr.bin/netstat
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-25 10:50:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-25 10:50:53 +0000
commit613ad0c8bdad3b3a6f611f37b4fa86e5b8ffe88c (patch)
tree6d4adf21c6977b0480a85eaf4546e5a9d838d2e3 /usr.bin/netstat
parentfa646aed6ee1aaaea7eb899c93273c6fcb08465f (diff)
fix a freak of misalignment
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r--usr.bin/netstat/route.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/route.c b/usr.bin/netstat/route.c
index 5426b2cfd54..387b4e9ffce 100644
--- a/usr.bin/netstat/route.c
+++ b/usr.bin/netstat/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.5 1996/08/16 09:29:34 mickey Exp $ */
+/* $OpenBSD: route.c,v 1.6 1996/10/25 10:50:52 deraadt Exp $ */
/* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94";
#else
-static char *rcsid = "$OpenBSD: route.c,v 1.5 1996/08/16 09:29:34 mickey Exp $";
+static char *rcsid = "$OpenBSD: route.c,v 1.6 1996/10/25 10:50:52 deraadt Exp $";
#endif
#endif /* not lint */
@@ -95,8 +95,8 @@ struct bits {
};
static union {
- struct sockaddr u_sa;
- u_short u_data[128];
+ struct sockaddr u_sa;
+ u_int32_t u_data[64];
} pt_u;
int do_rtent = 0;