Menu

#8 "login() || login()" dont work

open
nobody
None
5
2004-04-28
2004-04-28
Anonymous
No

I have several routers with tacacs and local auth. When the
tacacs is down i need to try the local login. So i put this code in
my script but it seems to not work :

if (($telnet->login ($login[0],$passwd[0]) || ($telnet->login
($login[1],$passwd[1]))
{
# do the job
}

Could some one help me ?

Cedric

cedric.godin at belbone dot net

Discussion


Log in to post a comment.

MongoDB Logo MongoDB