diff options
author | 2007-05-09 14:28:47 +0000 | |
---|---|---|
committer | 2007-05-09 14:28:47 +0000 | |
commit | ff9aa8361a6ac6a952dd5ab9739be9ceffb1c1d7 (patch) | |
tree | 5edbf7b9b12efe6db87da9c961b5fc70cb19f2e6 | |
parent | fix potential NULL deref. (diff) | |
download | wireguard-openbsd-ff9aa8361a6ac6a952dd5ab9739be9ceffb1c1d7.tar.xz wireguard-openbsd-ff9aa8361a6ac6a952dd5ab9739be9ceffb1c1d7.zip |
tcp_iss usage is ifdef TCP_COMPAT_42, so the variable decl can be too
-rw-r--r-- | sys/netinet/tcp_subr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index a91d8e5bc04..5693e4a1545 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_subr.c,v 1.94 2007/05/08 18:46:56 deraadt Exp $ */ +/* $OpenBSD: tcp_subr.c,v 1.95 2007/05/09 14:28:47 deraadt Exp $ */ /* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */ /* @@ -149,7 +149,9 @@ struct pool sackhl_pool; #endif struct tcpstat tcpstat; /* tcp statistics */ +#ifdef TCP_COMPAT_42 tcp_seq tcp_iss; +#endif /* * Tcp initialization |