diff options
| author | beck <> | 2016-06-02 04:26:32 +0000 |
|---|---|---|
| committer | beck <> | 2016-06-02 04:26:32 +0000 |
| commit | 25c02837407bb7fd1de67ddcbd60ae9e6bb41c50 (patch) | |
| tree | 611f67f0e2433c08b97a4c8fa4049fb875733a56 /src/usr.bin/nc/nc.1 | |
| parent | 035848853fd7f1683574411b8f4aa9c070d78a0b (diff) | |
| download | openbsd-25c02837407bb7fd1de67ddcbd60ae9e6bb41c50.tar.gz openbsd-25c02837407bb7fd1de67ddcbd60ae9e6bb41c50.tar.bz2 openbsd-25c02837407bb7fd1de67ddcbd60ae9e6bb41c50.zip | |
Let netcat support the use of service names instead of port numbers.
based on a diff from Andras Farkas <deepbluemistake@gmail.com>
ok deraadt@
Diffstat (limited to 'src/usr.bin/nc/nc.1')
| -rw-r--r-- | src/usr.bin/nc/nc.1 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr.bin/nc/nc.1 b/src/usr.bin/nc/nc.1 index 6b14122f3d..ee57a64a6b 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.71 2015/09/25 14:56:33 schwarze Exp $ | 1 | .\" $OpenBSD: nc.1,v 1.72 2016/06/02 04:26:32 beck 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 25 2015 $ | 28 | .Dd $Mdocdate: June 2 2016 $ |
| 29 | .Dt NC 1 | 29 | .Dt NC 1 |
| 30 | .Os | 30 | .Os |
| 31 | .Sh NAME | 31 | .Sh NAME |
| @@ -337,8 +337,8 @@ sockets, a destination is required and is the socket path to connect to | |||
| 337 | option is given). | 337 | option is given). |
| 338 | .Pp | 338 | .Pp |
| 339 | .Ar port | 339 | .Ar port |
| 340 | can be a single integer or a range of ports. | 340 | can be a specified as a numeric port number, or as a service name. |
| 341 | Ranges are in the form nn-mm. | 341 | Ports may be specified in a range of the form nn-mm. |
| 342 | In general, | 342 | In general, |
| 343 | a destination port must be specified, | 343 | a destination port must be specified, |
| 344 | unless the | 344 | unless the |
