diff options
author | Saku Ytti <saku@ytti.fi> | 2016-06-13 15:49:46 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2016-06-13 15:49:46 +0300 |
commit | f4b98d972a6a17dc363c8b214b5d8aa162f5fa37 (patch) | |
tree | 676561920b62c93463709573e38b626686b722c2 | |
parent | 3f150f372d7941b33c4ad8a1c1456aaf4751e346 (diff) |
expect prompt after enable PW
-rw-r--r-- | lib/oxidized/model/asa.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/asa.rb b/lib/oxidized/model/asa.rb index 317463d..1e45a91 100644 --- a/lib/oxidized/model/asa.rb +++ b/lib/oxidized/model/asa.rb @@ -52,7 +52,7 @@ class ASA < Oxidized::Model if vars :enable post_login do send "enable\n" - send vars(:enable) + "\n" + cmd vars(:enable) end end post_login 'terminal pager 0' |