summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2004-01-31 21:09:15 +0000
committerhenning <henning@openbsd.org>2004-01-31 21:09:15 +0000
commit748a68ec6a37cb7648628ba1cbf8451866f9e98b (patch)
tree9977749059f6c937c9e79b7f294ea7d46c06bf74 /sys/netinet/tcp_usrreq.c
parentfix a few #if MACRO -> #if defined(MACRO) (-Wsystem-headers clean-up) (diff)
downloadwireguard-openbsd-748a68ec6a37cb7648628ba1cbf8451866f9e98b.tar.xz
wireguard-openbsd-748a68ec6a37cb7648628ba1cbf8451866f9e98b.zip
rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIG
requested by theo ok markus@ hshoexer@
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index b7130ce067a..c1cd8d33bf7 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_usrreq.c,v 1.78 2004/01/31 19:40:10 markus Exp $ */
+/* $OpenBSD: tcp_usrreq.c,v 1.79 2004/01/31 21:09:15 henning Exp $ */
/* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */
/*
@@ -586,7 +586,7 @@ tcp_ctloutput(op, so, level, optname, mp)
break;
#endif
#ifdef TCP_SIGNATURE
- case TCP_SIGNATURE_ENABLE:
+ case TCP_MD5SIG:
if (m == NULL || m->m_len < sizeof (int)) {
error = EINVAL;
break;
@@ -631,7 +631,7 @@ tcp_ctloutput(op, so, level, optname, mp)
break;
#endif
#ifdef TCP_SIGNATURE
- case TCP_SIGNATURE_ENABLE:
+ case TCP_MD5SIG:
*mtod(m, int *) = tp->t_flags & TF_SIGNATURE;
break;
#endif