From c6a57ead5bd150128832c8cee30254846a1c22d8 Mon Sep 17 00:00:00 2001 From: boudreau Date: Tue, 4 Oct 2016 08:30:02 -0400 Subject: The \n is not seen as a lineline with ' it need " --- lib/oxidized/model/aosw.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/oxidized/model/aosw.rb b/lib/oxidized/model/aosw.rb index 394561f..d533727 100644 --- a/lib/oxidized/model/aosw.rb +++ b/lib/oxidized/model/aosw.rb @@ -60,8 +60,8 @@ class AOSW < Oxidized::Model cfg :telnet, :ssh do if vars :enable post_login do - send 'enable\n' - send vars(:enable) + '\n' + send "enable\n" + send vars(:enable) + "\n" end end post_login 'no paging' -- cgit v1.2.1