aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndre Oppermann <andre@FreeBSD.org>2006-06-17 18:42:07 +0000
committerAndre Oppermann <andre@FreeBSD.org>2006-06-17 18:42:07 +0000
commitee2e4c1d4e191e54f32298df90dcf4ca2d054ea5 (patch)
tree93c39057c0865650190812572a5b413506fcb792 /sys
parent93f0d0c5bf8273e55e822bb3445e59db6e2e3875 (diff)
Notes
Diffstat (limited to 'sys')
-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 979a77ea3e3f..87d865040b10 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 */