summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjca <>2017-02-09 20:15:59 +0000
committerjca <>2017-02-09 20:15:59 +0000
commit7e978d03227f2fbd6f056f832132d35de01fb4b8 (patch)
tree1667172ee453afca8f48745dd994419c19ca1645 /src
parentf2f2b6d58d42fcda92b273d7e6faddd2bf65fd11 (diff)
downloadopenbsd-7e978d03227f2fbd6f056f832132d35de01fb4b8.tar.gz
openbsd-7e978d03227f2fbd6f056f832132d35de01fb4b8.tar.bz2
openbsd-7e978d03227f2fbd6f056f832132d35de01fb4b8.zip
Document that -x can take an ipv6 address enclosed in square brackets.
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/nc/nc.17
1 files changed, 5 insertions, 2 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1
index b12e728982..b1f96488ab 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.81 2017/01/26 22:59:55 jmc Exp $ 1.\" $OpenBSD: nc.1,v 1.82 2017/02/09 20:15:59 jca 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: January 26 2017 $ 28.Dd $Mdocdate: February 9 2017 $
29.Dt NC 1 29.Dt NC 1
30.Os 30.Os
31.Sh NAME 31.Sh NAME
@@ -327,6 +327,9 @@ If
327.Ar port 327.Ar port
328is not specified, the well-known port for the proxy protocol is used (1080 328is not specified, the well-known port for the proxy protocol is used (1080
329for SOCKS, 3128 for HTTPS). 329for SOCKS, 3128 for HTTPS).
330An IPv6 address can be specified unambiguously by enclosing
331.Ar proxy_address
332in square brackets.
330.It Fl z 333.It Fl z
331Specifies that 334Specifies that
332.Nm 335.Nm