summaryrefslogtreecommitdiff
path: root/templates/telnet
diff options
context:
space:
mode:
Diffstat (limited to 'templates/telnet')
-rw-r--r--templates/telnet/node.def2
-rw-r--r--templates/telnet/node.tag/node.def2
-rw-r--r--templates/telnet/node.tag/node.tag/node.def4
3 files changed, 4 insertions, 4 deletions
diff --git a/templates/telnet/node.def b/templates/telnet/node.def
index 36a8df3..99b1f46 100644
--- a/templates/telnet/node.def
+++ b/templates/telnet/node.def
@@ -1 +1 @@
-help: Telnet to <host>
+help: Telnet to <hostname|IPv4 address>
diff --git a/templates/telnet/node.tag/node.def b/templates/telnet/node.tag/node.def
index 2befb59..643b7cb 100644
--- a/templates/telnet/node.tag/node.def
+++ b/templates/telnet/node.tag/node.def
@@ -1,4 +1,4 @@
-help: Telnet to <hostname|address>
+help: Telnet to <hostname|IPv4 address>
allowed: vyatta-allowed-hosts
run: if [ -x /usr/bin/telnet ] ; then
/usr/bin/$*
diff --git a/templates/telnet/node.tag/node.tag/node.def b/templates/telnet/node.tag/node.tag/node.def
index 21c0165..70a6402 100644
--- a/templates/telnet/node.tag/node.tag/node.def
+++ b/templates/telnet/node.tag/node.tag/node.def
@@ -1,5 +1,5 @@
-help: Telnet to <hostname|address> <port|service>
-allowed: echo -n '<PORT>'
+help: Telnet to <hostname|IPv4 address> <port|service>
+allowed: echo -n '<0-65535>'
run: if [ -x /usr/bin/telnet ] ; then
/usr/bin/$*
elif [ -x /bin/busybox ] ; then