summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2004-02-16 22:21:16 +0000
committerbms <bms@FreeBSD.org>2004-02-16 22:21:16 +0000
commit2b958c2272f4900c7a1a36ba6b62a9e0e582c95a (patch)
tree139dd4288fd6a322be946ecf34e9dcc5d8a52ffb /sys/netinet/tcp_usrreq.c
parent00e29c835ff33dec94e391613de033841073fe57 (diff)
downloadFreeBSD-src-2b958c2272f4900c7a1a36ba6b62a9e0e582c95a.zip
FreeBSD-src-2b958c2272f4900c7a1a36ba6b62a9e0e582c95a.tar.gz
Shorten the name of the socket option used to enable TCP-MD5 packet
treatment. Submitted by: Vincent Jardin
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 4ff4999..7d14ec1 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1067,7 +1067,7 @@ tcp_ctloutput(so, sopt)
case SOPT_SET:
switch (sopt->sopt_name) {
#ifdef TCP_SIGNATURE
- case TCP_SIGNATURE_ENABLE:
+ case TCP_MD5SIG:
error = sooptcopyin(sopt, &optval, sizeof optval,
sizeof optval);
if (error)
@@ -1140,7 +1140,7 @@ tcp_ctloutput(so, sopt)
case SOPT_GET:
switch (sopt->sopt_name) {
#ifdef TCP_SIGNATURE
- case TCP_SIGNATURE_ENABLE:
+ case TCP_MD5SIG:
optval = (tp->t_flags & TF_SIGNATURE) ? 1 : 0;
break;
#endif
OpenPOWER on IntegriCloud