summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet/telnet.1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>1999-06-16 15:26:22 +0000
committerru <ru@FreeBSD.org>1999-06-16 15:26:22 +0000
commit3b7c3aa4be419cf5415989e5ad1552b65226d743 (patch)
tree7469aa87b89ae1a49cf6539dba98106a1b8a15e1 /usr.bin/telnet/telnet.1
parentef7a7a001b4df084cccea0c127a53fc0346cb8d0 (diff)
downloadFreeBSD-src-3b7c3aa4be419cf5415989e5ad1552b65226d743.zip
FreeBSD-src-3b7c3aa4be419cf5415989e5ad1552b65226d743.tar.gz
Add "-s src_addr" option to allow setting of the source IP address.
Diffstat (limited to 'usr.bin/telnet/telnet.1')
-rw-r--r--usr.bin/telnet/telnet.19
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/telnet/telnet.1 b/usr.bin/telnet/telnet.1
index de161e8..4289733 100644
--- a/usr.bin/telnet/telnet.1
+++ b/usr.bin/telnet/telnet.1
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)telnet.1 8.5 (Berkeley) 3/1/94
-.\" $Id: telnet.1,v 1.9 1997/12/27 18:58:27 steve Exp $
+.\" $Id: telnet.1,v 1.10 1998/12/14 22:40:38 billf Exp $
.\"
.Dd March 1, 1994
.Dt TELNET 1
@@ -49,6 +49,7 @@ protocol
.Op Fl k Ar realm
.Op Fl l Ar user
.Op Fl n Ar tracefile
+.Op Fl s Ar src_addr
.Oo
.Ar host
.Op Ar port
@@ -184,6 +185,12 @@ mode, the escape character is set to the tilde (~) character,
unless modified by the
.Fl e
option.
+.It Fl s Ar src_addr
+Set the source IP address for the
+.Nm
+connection to
+.Ar src_addr ,
+which can be an IP address or a host name.
.It Fl x
Turns on encryption of the data stream if possible. This
option is not available outside of the United States and
OpenPOWER on IntegriCloud