summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ios.rb
diff options
context:
space:
mode:
authorNeil Lathwood <neil@lathwood.co.uk>2017-09-12 09:10:37 +0100
committerGitHub <noreply@github.com>2017-09-12 09:10:37 +0100
commit0293d1f584005789bce95bf0bfce7ba97cf6e80b (patch)
treefc2799632cec36c11cd6fb35f9cb9a9faf54f615 /lib/oxidized/model/ios.rb
parent524b6b82ff88642dd8badc8c8c6a4108ec85d8b0 (diff)
parent580b2714c295cd68c7e533b781017e8aafa85f9f (diff)
Use lowercase for username/password in IOS model
Some older IOS uses lowercase in the telnet prompt
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 c3d5543..0cb2f3a 100644
--- a/lib/oxidized/model/ios.rb
+++ b/lib/oxidized/model/ios.rb
@@ -126,8 +126,8 @@ class IOS < Oxidized::Model
end
cfg :telnet do
- username /^Username:/
- password /^Password:/
+ username /^Username:/i
+ password /^Password:/i
end
cfg :telnet, :ssh do