diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2024-04-01 12:40:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2024-04-01 12:40:19 +0000 |
commit | 39120ea65b6983bb3537ef8af612373666e91402 (patch) | |
tree | a70831235c113ded7baf9abc234e531d497bc731 /usr.bin/nc/nc.1 | |
parent | d7a5192e397f435ed84f341f5c13de3337697701 (diff) |
Mention that port can be specified as 0 in some situations, so that the
system will allocate a port.
Diffstat (limited to 'usr.bin/nc/nc.1')
-rw-r--r-- | usr.bin/nc/nc.1 | 5 |
1 files 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 . |