summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2016-02-22 15:23:54 +0200
committerSaku Ytti <saku@ytti.fi>2016-02-22 15:23:54 +0200
commitbede61d4bcd1cfbf5e6286c84654049124e71150 (patch)
tree661fb7a3349c5fbe099dada08f9d53e35f03c5be /lib/oxidized/model
parent4e4d2d9d146305be9180fc0ed560abf0e317a65d (diff)
I guess no one uses telnet, which is nice.
Edgeswitch spotted by @str4nd
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/edgeswitch.rb4
-rw-r--r--lib/oxidized/model/nos.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/oxidized/model/edgeswitch.rb b/lib/oxidized/model/edgeswitch.rb
index 89a5690..c631f7d 100644
--- a/lib/oxidized/model/edgeswitch.rb
+++ b/lib/oxidized/model/edgeswitch.rb
@@ -12,7 +12,7 @@ class EdgeSwitch < Oxidized::Model
cfg :telnet do
username /Username:\s/
- passsword /^Password:\s/
+ password /^Password:\s/
end
cfg :telnet, :ssh do
@@ -22,4 +22,4 @@ class EdgeSwitch < Oxidized::Model
pre_logout 'exit'
end
-end \ No newline at end of file
+end
diff --git a/lib/oxidized/model/nos.rb b/lib/oxidized/model/nos.rb
index 18ca6a2..bd2cb0f 100644
--- a/lib/oxidized/model/nos.rb
+++ b/lib/oxidized/model/nos.rb
@@ -33,7 +33,7 @@ class NOS < Oxidized::Model
cfg :telnet do
username /^.* login: /
- username /^Password:/
+ password /^Password:/
end
cfg :telnet, :ssh do