summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-06-27 13:51:42 +0300
committerGitHub <noreply@github.com>2016-06-27 13:51:42 +0300
commit42043c48915008b19f4ee651e038db6b3906d20a (patch)
treefd599d37dc8b2c665fd043e1fb5a63fa7af3f921 /lib/oxidized
parent3932679b86113dcc496575b144cb797eb0c29599 (diff)
parentff81d9a73f78677ae7dc19373d1652797a11be8f (diff)
Merge pull request #484 from MrRJ45/patch-2
Update edgeswitch.rb
Diffstat (limited to 'lib/oxidized')
-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