summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2006-06-17 18:42:07 +0000
committerandre <andre@FreeBSD.org>2006-06-17 18:42:07 +0000
commitfd73883e66eebab0ebdd68d6165d728640712260 (patch)
tree93c39057c0865650190812572a5b413506fcb792 /sys/netinet/tcp_syncache.c
parent5de64f9bb76c32bc0e6c6954dea81ed032ae7354 (diff)
downloadFreeBSD-src-fd73883e66eebab0ebdd68d6165d728640712260.zip
FreeBSD-src-fd73883e66eebab0ebdd68d6165d728640712260.tar.gz
Fix the !INET6 compile.
Reported by: alc
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r--sys/netinet/tcp_syncache.c6
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 */
OpenPOWER on IntegriCloud