summaryrefslogtreecommitdiff
path: root/scripts/system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-16 15:56:24 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-16 16:22:42 -0800
commitf3d8a923cbf42966e4de11d0978f2c9518b90cb3 (patch)
treed10ed9c8fc56f35b48746facb86395f1057271ed /scripts/system
parent184cb6cb1431acfeec02caadf51fce246141e3cb (diff)
downloadvyatta-cfg-system-f3d8a923cbf42966e4de11d0978f2c9518b90cb3.tar.gz
vyatta-cfg-system-f3d8a923cbf42966e4de11d0978f2c9518b90cb3.zip
Add ability to configure telnet listen-addres
Bug 4452 Allow configuring a telnet listen-address either IPv4 or IPv6 (like SSH). Unlike SSH, telnet only supports a single listen-address
Diffstat (limited to 'scripts/system')
-rwxr-xr-xscripts/system/vyatta_update_telnet2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_telnet b/scripts/system/vyatta_update_telnet
index 07d6946f..f50eef79 100755
--- a/scripts/system/vyatta_update_telnet
+++ b/scripts/system/vyatta_update_telnet
@@ -69,7 +69,7 @@ case "$1" in
then echo "Missing port number";
usage
fi
- exec sudo /opt/vyatta/sbin/telnetd.init restart "$2"
+ exec sudo /opt/vyatta/sbin/telnetd.init restart $2 $3
;;
disable)