From bede61d4bcd1cfbf5e6286c84654049124e71150 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Mon, 22 Feb 2016 15:23:54 +0200 Subject: I guess no one uses telnet, which is nice. Edgeswitch spotted by @str4nd --- lib/oxidized/model/edgeswitch.rb | 4 ++-- lib/oxidized/model/nos.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/oxidized/model') 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 -- cgit v1.2.1