diff options
author | ache <ache@FreeBSD.org> | 2006-09-14 10:22:35 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2006-09-14 10:22:35 +0000 |
commit | ce4ed61a692bdd17962a3b8bdf0193fab2798eba (patch) | |
tree | 79b4b4f47378a63e807303194fcc465d44fbf8ed /sys/netinet/tcp_syncache.c | |
parent | c58b7af8454700a0b65b149ad85cef2ed88e4c1e (diff) | |
download | FreeBSD-src-ce4ed61a692bdd17962a3b8bdf0193fab2798eba.zip FreeBSD-src-ce4ed61a692bdd17962a3b8bdf0193fab2798eba.tar.gz |
Add missing #ifdef INET6 (can't be compiled)
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
-rw-r--r-- | sys/netinet/tcp_syncache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index f369bdb..06859d4 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -1403,7 +1403,9 @@ syncookie_generate(struct syncache_head *sch, struct syncache *sc, data |= (md5_buffer[0] << 7); sc->sc_iss = data; +#ifdef INET6 *flowlabel = md5_buffer[1] & IPV6_FLOWLABEL_MASK; +#endif /* Additional parameters are stored in the timestamp if present. */ if (sc->sc_flags & SCF_TIMESTAMP) { |