From 659b964c3a80bb52cfa90a7119c2a7edd6c143b1 Mon Sep 17 00:00:00 2001 From: Jeremie Courreges-Anglas Date: Thu, 9 Feb 2017 20:16:00 +0000 Subject: Document that -x can take an ipv6 address enclosed in square brackets. --- usr.bin/nc/nc.1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'usr.bin/nc/nc.1') 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 -- cgit v1.2.3