diff options
author | andre <andre@FreeBSD.org> | 2006-06-17 18:42:07 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2006-06-17 18:42:07 +0000 |
commit | fd73883e66eebab0ebdd68d6165d728640712260 (patch) | |
tree | 93c39057c0865650190812572a5b413506fcb792 | |
parent | 5de64f9bb76c32bc0e6c6954dea81ed032ae7354 (diff) | |
download | FreeBSD-src-fd73883e66eebab0ebdd68d6165d728640712260.zip FreeBSD-src-fd73883e66eebab0ebdd68d6165d728640712260.tar.gz |
Fix the !INET6 compile.
Reported by: alc
-rw-r--r-- | sys/netinet/tcp_syncache.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index 979a77e..87d8650 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -797,8 +797,10 @@ syncache_add(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th, struct syncache_head *sch; struct mbuf *ipopts = NULL; u_int32_t flowtmp; - int win, autoflowlabel = 0; - int sb_hiwat, ip_ttl, ip_tos; + int win, sb_hiwat, ip_ttl, ip_tos; +#ifdef INET6 + int autoflowlabel = 0; +#endif INP_INFO_WLOCK_ASSERT(&tcbinfo); INP_LOCK_ASSERT(inp); /* listen socket */ |