Skip to content

Commit

Permalink
clogin: new info in ASA login sequence matched as login prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
haussli committed Mar 5, 2018
1 parent 75a825e commit 8c42b45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions rancid/CHANGES
@@ -1,4 +1,6 @@
3.99.99
clogin: new info in ASA login sequence matched as login prompt

nxos.pm: add show interface transceiver

mrv.pm: add show inventory
Expand Down
9 changes: 6 additions & 3 deletions rancid/bin/clogin.in
Expand Up @@ -248,6 +248,12 @@ proc login { router user userpswd passwd enapasswd cmethod cyphertype identfile
send_user "\nError: Check your passwd for $router\n"
catch {close}; catch {wait}; return 1
}
-nocase -re "last login:" {
exp_continue
}
-nocase -re "failed login:" {
exp_continue
}
"Login failed" {
send_user "\nError: Check your passwd for $router\n"
catch {close}; catch {wait}; return 1
Expand All @@ -267,9 +273,6 @@ proc login { router user userpswd passwd enapasswd cmethod cyphertype identfile
send "K\r"
exp_continue
}
-re "Last login:" {
exp_continue
}
-re "Press the <tab> key \[^\r\n]+\[\r\n]+" {
exp_continue
}
Expand Down

0 comments on commit 8c42b45

Please sign in to comment.