summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-10-04 16:10:02 +0300
committerGitHub <noreply@github.com>2016-10-04 16:10:02 +0300
commitd6a6d896ae7f07489eb1e038edd4e6fdfca8478e (patch)
treee87f45ca76fb8f3b737dd59d286f3f9db7713705
parentd09f9c89c6422e813a470485327efe2cbb8963ca (diff)
parentc6a57ead5bd150128832c8cee30254846a1c22d8 (diff)
Merge pull request #581 from boudreau/master
The \n is not seen as a lineline with ' it need "
-rw-r--r--lib/oxidized/model/aosw.rb4
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'