diff options
| author | deraadt <> | 2024-04-01 12:40:18 +0000 |
|---|---|---|
| committer | deraadt <> | 2024-04-01 12:40:18 +0000 |
| commit | 5c866cf89a8430be07c0f516944dc505b3916c62 (patch) | |
| tree | 838c650e7ce4e7d18214197d1655d3829411d778 | |
| parent | 0077955942fa0ec11c1d7c17f1d83a38778062e6 (diff) | |
| download | openbsd-5c866cf89a8430be07c0f516944dc505b3916c62.tar.gz openbsd-5c866cf89a8430be07c0f516944dc505b3916c62.tar.bz2 openbsd-5c866cf89a8430be07c0f516944dc505b3916c62.zip | |
Mention that port can be specified as 0 in some situations, so that the
system will allocate a port.
Diffstat (limited to '')
| -rw-r--r-- | src/usr.bin/nc/nc.1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index 0ef318e0e6..76b6dc018e 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.97 2022/09/11 09:58:06 schwarze Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.98 2024/04/01 12:40:18 deraadt 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: September 11 2022 $ | 28 | .Dd $Mdocdate: April 1 2024 $ |
| 29 | .Dt NC 1 | 29 | .Dt NC 1 |
| 30 | .Os | 30 | .Os |
| 31 | .Sh NAME | 31 | .Sh NAME |
| @@ -398,6 +398,7 @@ a destination port must be specified, | |||
| 398 | unless the | 398 | unless the |
| 399 | .Fl U | 399 | .Fl U |
| 400 | option is given. | 400 | option is given. |
| 401 | For some options, the value 0 requests that the system choose a port number. | ||
| 401 | .Sh CLIENT/SERVER MODEL | 402 | .Sh CLIENT/SERVER MODEL |
| 402 | It is quite simple to build a very basic client/server model using | 403 | It is quite simple to build a very basic client/server model using |
| 403 | .Nm . | 404 | .Nm . |
