summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkn <>2019-10-24 17:27:08 +0000
committerkn <>2019-10-24 17:27:08 +0000
commit53fd42f3a7b759c3d6f04e948d57e410697eec0d (patch)
treeaea26b1fafcb6c5b7e6755b7efd67b8b1a0d96da /src
parentf860ff473beb386fc88047a00a6e27437ba4ab75 (diff)
downloadopenbsd-53fd42f3a7b759c3d6f04e948d57e410697eec0d.tar.gz
openbsd-53fd42f3a7b759c3d6f04e948d57e410697eec0d.tar.bz2
openbsd-53fd42f3a7b759c3d6f04e948d57e410697eec0d.zip
Service names are still resolved with -n
Just like pfctl(8)'s -N, this flag only avoid DNS; "nc -vz ::1 socks" still works. Fix documentation by copying pfctl's wording. OK deraadt
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/nc/nc.18
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1
index 6bdfe4f904..746a055944 100644
--- a/src/usr.bin/nc/nc.1
+++ b/src/usr.bin/nc/nc.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: nc.1,v 1.93 2018/12/27 17:45:36 jmc Exp $ 1.\" $OpenBSD: nc.1,v 1.94 2019/10/24 17:27:08 kn Exp $
2.\" 2.\"
3.\" Copyright (c) 1996 David Sacerdote 3.\" Copyright (c) 1996 David Sacerdote
4.\" All rights reserved. 4.\" All rights reserved.
@@ -25,7 +25,7 @@
25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27.\" 27.\"
28.Dd $Mdocdate: December 27 2018 $ 28.Dd $Mdocdate: October 24 2019 $
29.Dt NC 1 29.Dt NC 1
30.Os 30.Os
31.Sh NAME 31.Sh NAME
@@ -192,8 +192,8 @@ Ask the kernel to drop incoming packets whose TTL / hop limit is under
192the network socket after EOF on the input. 192the network socket after EOF on the input.
193Some servers require this to finish their work. 193Some servers require this to finish their work.
194.It Fl n 194.It Fl n
195Do not do any DNS or service lookups on any specified addresses, 195Do not perform domain name resolution.
196hostnames or ports. 196If a name cannot be resolved without DNS, an error will be reported.
197.It Fl O Ar length 197.It Fl O Ar length
198Specify the size of the TCP send buffer. 198Specify the size of the TCP send buffer.
199.It Fl o Ar staplefile 199.It Fl o Ar staplefile