From e3bd0c10546a83897881ba91c04187a29aafaa60 Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 1 Apr 2024 12:40:18 +0000 Subject: [PATCH] Mention that port can be specified as 0 in some situations, so that the system will allocate a port. --- usr.bin/nc/nc.1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.bin/nc/nc.1 b/usr.bin/nc/nc.1 index 0ef318e0e6f..76b6dc018ea 100644 --- a/usr.bin/nc/nc.1 +++ b/usr.bin/nc/nc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nc.1,v 1.97 2022/09/11 09:58:06 schwarze Exp $ +.\" $OpenBSD: nc.1,v 1.98 2024/04/01 12:40:18 deraadt 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: September 11 2022 $ +.Dd $Mdocdate: April 1 2024 $ .Dt NC 1 .Os .Sh NAME @@ -398,6 +398,7 @@ a destination port must be specified, unless the .Fl U option is given. +For some options, the value 0 requests that the system choose a port number. .Sh CLIENT/SERVER MODEL It is quite simple to build a very basic client/server model using .Nm . -- 2.20.1