From f4b98d972a6a17dc363c8b214b5d8aa162f5fa37 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Mon, 13 Jun 2016 15:49:46 +0300 Subject: expect prompt after enable PW --- lib/oxidized/model/asa.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model') 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' -- cgit v1.2.1