summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-06-14 09:01:10 +0200
committerGitHub <noreply@github.com>2018-06-14 09:01:10 +0200
commit35bb797ca7cf05975552f86b313393fb41b121ff (patch)
tree8fd00eb99eca28e44e58aa70beb09a4d353517a0 /lib/oxidized/model
parent5ad3e9bf883f5450e8f7cba046b1f47ebd88215f (diff)
relax d-link prompt expectations, closes #1389 (#1392)
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/dlink.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/dlink.rb b/lib/oxidized/model/dlink.rb
index 6c604fb..c223eb6 100644
--- a/lib/oxidized/model/dlink.rb
+++ b/lib/oxidized/model/dlink.rb
@@ -26,8 +26,8 @@ class Dlink < Oxidized::Model
cmd 'show config current'
cfg :telnet do
- username /\r*username:/
- password /\r*password:/
+ username /\r*[Uu]ser{Nn]ame:/
+ password /\r*[Pp]ass[Ww]ord:/
end
cfg :telnet, :ssh do