Return to netcat.c CVS log | Up to [local] / src / usr.bin / nc |
version 1.65, 2004/01/22 13:28:46 | version 1.66, 2004/01/31 21:09:15 | ||
---|---|---|---|
|
|
||
freeaddrinfo(ares); | freeaddrinfo(ares); | ||
} | } | ||
if (Sflag) { | if (Sflag) { | ||
if (setsockopt(s, IPPROTO_TCP, TCP_SIGNATURE_ENABLE, | if (setsockopt(s, IPPROTO_TCP, TCP_MD5SIG, | ||
&x, sizeof(x)) == -1) | &x, sizeof(x)) == -1) | ||
err(1, NULL); | err(1, NULL); | ||
} | } | ||
|
|
||
if (ret == -1) | if (ret == -1) | ||
err(1, NULL); | err(1, NULL); | ||
if (Sflag) { | if (Sflag) { | ||
ret = setsockopt(s, IPPROTO_TCP, TCP_SIGNATURE_ENABLE, | ret = setsockopt(s, IPPROTO_TCP, TCP_MD5SIG, | ||
&x, sizeof(x)); | &x, sizeof(x)); | ||
if (ret == -1) | if (ret == -1) | ||
err(1, NULL); | err(1, NULL); |