summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ios.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2013-05-01 04:49:05 -0700
committerytti <saku@ytti.fi>2013-05-01 04:49:05 -0700
commitd0de575afa263a9f6f729d0d1a7fa77fdd15600d (patch)
tree8ce10918fa67cd0e66b173c581481be3809df6b1 /lib/oxidized/model/ios.rb
parentc252a589b6b0274a17bfe40db3fd57ebeea3beb8 (diff)
parent17a9fb3d013912eea2a1e834bc0480b677592d71 (diff)
Merge pull request #4 from nopedial/work-flow
Update powerconnect.rb, catch errors in input.rbs and fix typos in ios.rb
Diffstat (limited to 'lib/oxidized/model/ios.rb')
-rw-r--r--lib/oxidized/model/ios.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/ios.rb b/lib/oxidized/model/ios.rb
index 7da5ed2..3fcc7ae 100644
--- a/lib/oxidized/model/ios.rb
+++ b/lib/oxidized/model/ios.rb
@@ -11,7 +11,7 @@ class IOS < Oxidized::Model
# non-preferred way to handle additional PW prompt
#expect /^[\w.]+>$/ do |data|
# send "enable\n"
- # send CFG.passwords[:enable] + "\n"
+ # send CFG.vars[:enable] + "\n"
# data
#end
@@ -42,7 +42,7 @@ class IOS < Oxidized::Model
# preferred way to handle additional passwords
#post_login do
# send "enable\n"
- # send CFG.passwords[:enable] + "\n"
+ # send CFG.vars[:enable] + "\n"
#end
pre_logout 'exit'
end