From 35bb797ca7cf05975552f86b313393fb41b121ff Mon Sep 17 00:00:00 2001 From: Wild Kat Date: Thu, 14 Jun 2018 09:01:10 +0200 Subject: relax d-link prompt expectations, closes #1389 (#1392) --- lib/oxidized/model/dlink.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.1