summaryrefslogtreecommitdiff
path: root/usr.bin/nc
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-02-09 20:16:00 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-02-09 20:16:00 +0000
commit659b964c3a80bb52cfa90a7119c2a7edd6c143b1 (patch)
tree7ef6c886f29ede06150fb8b11572536c5b9be234 /usr.bin/nc
parent803cc6ea93487094ebd321cc99529831465c0bc2 (diff)
Document that -x can take an ipv6 address enclosed in square brackets.
Diffstat (limited to 'usr.bin/nc')
-rw-r--r--usr.bin/nc/nc.17
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/nc/nc.1 b/usr.bin/nc/nc.1
index b12e7289829..b1f96488ab0 100644
--- a/usr.bin/nc/nc.1
+++ b/usr.bin/nc/nc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nc.1,v 1.81 2017/01/26 22:59:55 jmc Exp $
+.\" $OpenBSD: nc.1,v 1.82 2017/02/09 20:15:59 jca Exp $
.\"
.\" Copyright (c) 1996 David Sacerdote
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 26 2017 $
+.Dd $Mdocdate: February 9 2017 $
.Dt NC 1
.Os
.Sh NAME
@@ -327,6 +327,9 @@ If
.Ar port
is not specified, the well-known port for the proxy protocol is used (1080
for SOCKS, 3128 for HTTPS).
+An IPv6 address can be specified unambiguously by enclosing
+.Ar proxy_address
+in square brackets.
.It Fl z
Specifies that
.Nm