diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-31 21:09:16 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-31 21:09:16 +0000 |
commit | 1a2de2f741160154ad94252912302fc4a213be87 (patch) | |
tree | 691532660d175f3cc91524124eeffecb2966e3f0 /usr.bin/nc | |
parent | a370588ba80f172c769c599cdff220f6a6ae29f7 (diff) |
rename tcp sockopt TCP_SIGNATURE_ENABLE to TCP_MD5SIG
requested by theo
ok markus@ hshoexer@
Diffstat (limited to 'usr.bin/nc')
-rw-r--r-- | usr.bin/nc/netcat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/nc/netcat.c b/usr.bin/nc/netcat.c index baeb3cefd1f..beca89e01c8 100644 --- a/usr.bin/nc/netcat.c +++ b/usr.bin/nc/netcat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netcat.c,v 1.65 2004/01/22 13:28:46 markus Exp $ */ +/* $OpenBSD: netcat.c,v 1.66 2004/01/31 21:09:15 henning Exp $ */ /* * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> * @@ -478,7 +478,7 @@ remote_connect(char *host, char *port, struct addrinfo hints) freeaddrinfo(ares); } if (Sflag) { - if (setsockopt(s, IPPROTO_TCP, TCP_SIGNATURE_ENABLE, + if (setsockopt(s, IPPROTO_TCP, TCP_MD5SIG, &x, sizeof(x)) == -1) err(1, NULL); } @@ -530,7 +530,7 @@ local_listen(char *host, char *port, struct addrinfo hints) if (ret == -1) err(1, NULL); if (Sflag) { - ret = setsockopt(s, IPPROTO_TCP, TCP_SIGNATURE_ENABLE, + ret = setsockopt(s, IPPROTO_TCP, TCP_MD5SIG, &x, sizeof(x)); if (ret == -1) err(1, NULL); |