summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rw-r--r--lib/oxidized/model/dlink.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a9c814f..ef8e097 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,7 +6,7 @@
* FEATURE: honour MAX_STAT in mtime, to store last N mtime
* FEATURE: configurable stats history size
* FEATURE: model callback enhancements for customizing existing models (@ytti)
-* BUGFIX: model ciscosmb
+* BUGFIX: models ciscosmb, dlink
## 0.23.0
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