diff options
author | ytti <saku@ytti.fi> | 2016-10-04 16:10:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-04 16:10:02 +0300 |
commit | d6a6d896ae7f07489eb1e038edd4e6fdfca8478e (patch) | |
tree | e87f45ca76fb8f3b737dd59d286f3f9db7713705 /lib | |
parent | d09f9c89c6422e813a470485327efe2cbb8963ca (diff) | |
parent | c6a57ead5bd150128832c8cee30254846a1c22d8 (diff) |
Merge pull request #581 from boudreau/master
The \n is not seen as a lineline with ' it need "
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/aosw.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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' |