diff options
author | Tar Committer <tar@ocjtech.us> | 2004-06-06 04:12:54 +0000 |
---|---|---|
committer | Tar Committer <tar@ocjtech.us> | 2004-06-06 04:12:54 +0000 |
commit | 654a4573f8fd2b1109e0ded8d9ce061dd3a2093f (patch) | |
tree | e1d9f6fdea04a52f7cfcdc1b3ddf9d49046d20df /bin/nlogin.in | |
parent | 381d322caf5928732f3d478d80e70acfccd67f99 (diff) | |
download | rancid-654a4573f8fd2b1109e0ded8d9ce061dd3a2093f.tar.gz rancid-654a4573f8fd2b1109e0ded8d9ce061dd3a2093f.tar.xz rancid-654a4573f8fd2b1109e0ded8d9ce061dd3a2093f.zip |
Imported from rancid-2.3.1.tar.gz.rancid-2.3.1
Diffstat (limited to 'bin/nlogin.in')
-rw-r--r-- | bin/nlogin.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/nlogin.in b/bin/nlogin.in index 9c6f8b8..756fbef 100644 --- a/bin/nlogin.in +++ b/bin/nlogin.in @@ -1,6 +1,6 @@ #! @EXPECT_PATH@ -- ## -## $Id: nlogin.in,v 1.15 2004/02/02 17:38:36 heas Exp $ +## $Id: nlogin.in,v 1.17 2004/05/21 19:28:49 heas Exp $ ## ## Copyright (C) 1997-2004 by Terrapin Communications, Inc. ## All rights reserved. @@ -433,7 +433,7 @@ foreach firewall [lrange $argv $i end] { send_user "\nError: no password for $firewall in $password_file.\n" continue } - set passwd [join [lindex $pswd 0]""] + set passwd [join [lindex $pswd 0] ""] set enapasswd [join [lindex $pswd 1] ""] } @@ -478,7 +478,7 @@ foreach firewall [lrange $argv $i end] { if { "$cmethod" == "" } { set cmethod {{telnet} {ssh}} } # Figure out the SSH executable name - set sshcmd [find sshcmd $router] + set sshcmd [find sshcmd $firewall] if { "$sshcmd" == "" } { set sshcmd {ssh} } # Login to the firewall |