From ac54243f382e817c08c1f895ccfdc05dcacdb044 Mon Sep 17 00:00:00 2001 From: Tar Committer Date: Sun, 14 Jan 2007 05:39:54 +0000 Subject: Imported from rancid-2.3.2a7.tar.gz. --- bin/rivlogin.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin/rivlogin.in') diff --git a/bin/rivlogin.in b/bin/rivlogin.in index 6dc6afb..2d80217 100644 --- a/bin/rivlogin.in +++ b/bin/rivlogin.in @@ -1,6 +1,6 @@ #! @EXPECT_PATH@ -- ## -## $Id: rivlogin.in,v 1.25 2006/12/05 16:50:53 heas Exp $ +## $Id: rivlogin.in,v 1.26 2006/12/08 21:28:26 heas Exp $ ## ## @PACKAGE@ @VERSION@ ## Copyright (C) 1997-2006 by Terrapin Communications, Inc. @@ -906,6 +906,9 @@ set router [string tolower $router] set passwd [join [lindex $pswd 0] ""] set enapasswd [join [lindex $pswd 1] ""] + } else { + set passwd $userpasswd + set enapasswd $enapasswd } # Figure out user to login with if necessary -- cgit