summaryrefslogtreecommitdiff
path: root/sys/netinet/ip.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2014-07-13 13:57:57 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2014-07-13 13:57:57 +0000
commit57a2e1e7a35e83305390e703f062eec16338893b (patch)
treed352d2268c1aaf04a706789fbc1e7b23dee994c2 /sys/netinet/ip.h
parentda341ae9b480bafefc34e11dda5322926c835f68 (diff)
Stop using old n_time, n_long and n_short types in netinet headers.
ok deraadt@, naddy@
Diffstat (limited to 'sys/netinet/ip.h')
-rw-r--r--sys/netinet/ip.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip.h b/sys/netinet/ip.h
index 16a06272fea..a208fcd8f8d 100644
--- a/sys/netinet/ip.h
+++ b/sys/netinet/ip.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip.h,v 1.15 2014/05/12 09:15:00 mpi Exp $ */
+/* $OpenBSD: ip.h,v 1.16 2014/07/13 13:57:56 mpi Exp $ */
/* $NetBSD: ip.h,v 1.9 1995/05/15 01:22:44 cgd Exp $ */
/*
@@ -176,10 +176,10 @@ struct ip_timestamp {
ipt_flg:4; /* flags, see below */
#endif
union ipt_timestamp {
- n_time ipt_time[1];
+ u_int32_t ipt_time[1];
struct ipt_ta {
struct in_addr ipt_addr;
- n_time ipt_time;
+ u_int32_t ipt_time;
} ipt_ta[1];
} ipt_timestamp;
};