diff options
author | jca <> | 2017-02-09 20:15:59 +0000 |
---|---|---|
committer | jca <> | 2017-02-09 20:15:59 +0000 |
commit | 7e978d03227f2fbd6f056f832132d35de01fb4b8 (patch) | |
tree | 1667172ee453afca8f48745dd994419c19ca1645 /src | |
parent | f2f2b6d58d42fcda92b273d7e6faddd2bf65fd11 (diff) | |
download | openbsd-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.1 | 7 |
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 |
328 | is not specified, the well-known port for the proxy protocol is used (1080 | 328 | is not specified, the well-known port for the proxy protocol is used (1080 |
329 | for SOCKS, 3128 for HTTPS). | 329 | for SOCKS, 3128 for HTTPS). |
330 | An IPv6 address can be specified unambiguously by enclosing | ||
331 | .Ar proxy_address | ||
332 | in square brackets. | ||
330 | .It Fl z | 333 | .It Fl z |
331 | Specifies that | 334 | Specifies that |
332 | .Nm | 335 | .Nm |