summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/edgeswitch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/edgeswitch.rb')
-rw-r--r--lib/oxidized/model/edgeswitch.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/edgeswitch.rb b/lib/oxidized/model/edgeswitch.rb
index 7c82639..7f5b1ea 100644
--- a/lib/oxidized/model/edgeswitch.rb
+++ b/lib/oxidized/model/edgeswitch.rb
@@ -11,8 +11,8 @@ class EdgeSwitch < Oxidized::Model
end
cfg :telnet do
- username /Username:\s/
- password /^Password:\s/
+ username /User(name)?:\s?/
+ password /^Password:\s?/
end
cfg :telnet, :ssh do