From 60b043d7ac0c6238b9a1f73054cd85c0302d3e1b Mon Sep 17 00:00:00 2001 From: Rexford Haugen <12450781+rexhaugen@users.noreply.github.com> Date: Fri, 29 Sep 2023 10:33:52 -0600 Subject: [PATCH 1/2] Update netgear.rb Update prompt RegEx to support detection of Netgear M4250-10G2XF-PoE+ and M4300-28G-PoE+. --- lib/oxidized/model/netgear.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oxidized/model/netgear.rb b/lib/oxidized/model/netgear.rb index 0fdcae2fc..2065881f2 100644 --- a/lib/oxidized/model/netgear.rb +++ b/lib/oxidized/model/netgear.rb @@ -2,7 +2,7 @@ class Netgear < Oxidized::Model using Refinements comment '!' - prompt /^(\([\w\s\-.]+\)\s[#>])$/ + prompt /^(\([\w\s\-\+.]+\)\s?[#>])$/ cmd :secret do |cfg| cfg.gsub!(/password (\S+)/, 'password ') From 958972d95a1c8e2197af0120d2a427a8af842cf9 Mon Sep 17 00:00:00 2001 From: Alexander Schaber Date: Mon, 30 Oct 2023 13:36:08 +0100 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38ff21841..2694324bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,6 +38,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). - Remove constantly updating dates from backup of Adtran config (@davesbell) - fixed prompt for Cumulus to allow usernames with dots and dashes (@ktims) - fixed source http when source is librenms (@davama) +- fixed prompt detection for Netgear M4250-10G2XF-PoE+ and M4300-28G-PoE+ (@rexhaugen) ## [0.29.1 - 2023-04-24]