summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_var.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-11 17:21:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-11 17:21:54 +0000
commit55fd72cb992f5a9e05c08ab160551c32123733ef (patch)
treeddee207db1bbc510b200dcb8d6f7c48f29aee6d6 /sys/netinet/tcp_var.h
parentdef4c3b2eeca342e0579fa637b52e2c8d0cc5135 (diff)
bitfields must be off an int or such type
Diffstat (limited to 'sys/netinet/tcp_var.h')
-rw-r--r--sys/netinet/tcp_var.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_var.h b/sys/netinet/tcp_var.h
index 299c03eb068..5e8fae21e60 100644
--- a/sys/netinet/tcp_var.h
+++ b/sys/netinet/tcp_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_var.h,v 1.79 2005/11/20 19:25:16 brad Exp $ */
+/* $OpenBSD: tcp_var.h,v 1.80 2005/12/11 17:21:53 deraadt Exp $ */
/* $NetBSD: tcp_var.h,v 1.17 1996/02/13 23:44:24 christos Exp $ */
/*
@@ -290,8 +290,8 @@ struct syn_cache {
struct mbuf *sc_ipopts; /* IP options */
u_int16_t sc_peermaxseg;
u_int16_t sc_ourmaxseg;
- u_int8_t sc_request_r_scale : 4,
- sc_requested_s_scale : 4;
+ u_int sc_request_r_scale : 4,
+ sc_requested_s_scale : 4;
struct tcpcb *sc_tp; /* tcb for listening socket */
LIST_ENTRY(syn_cache) sc_tpq; /* list of entries by same tp */