diff options
author | andre <andre@FreeBSD.org> | 2007-04-20 15:28:01 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2007-04-20 15:28:01 +0000 |
commit | 0af88c9154ebdd3bfcb191d7a902347bb26911a5 (patch) | |
tree | 038867f16b2ace6b644d912b765328e4921de46f /sys/netinet/tcp_input.c | |
parent | a08a16ab4002000223fadd38dfcf1e6fcfc9978a (diff) | |
download | FreeBSD-src-0af88c9154ebdd3bfcb191d7a902347bb26911a5.zip FreeBSD-src-0af88c9154ebdd3bfcb191d7a902347bb26911a5.tar.gz |
o Remove unncessary TOF_SIGLEN flag from struct tcpopt
o Correctly set to->to_signature in tcp_dooptions()
o Update comments
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 2658d59..3cbc817 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -2716,7 +2716,8 @@ tcp_dooptions(struct tcpopt *to, u_char *cp, int cnt, int flags) case TCPOPT_SIGNATURE: if (optlen != TCPOLEN_SIGNATURE) continue; - to->to_flags |= (TOF_SIGNATURE | TOF_SIGLEN); + to->to_flags |= TOF_SIGNATURE; + to->to_signature = cp + 2; break; #endif case TCPOPT_SACK_PERMITTED: |