Skip to content

Commit

Permalink
Merge pull request #2954 from rexhaugen/patch-2
Browse files Browse the repository at this point in the history
Update the prompt detection RegEx to support Netgear M4250-10G2XF-PoE+ and M4300-28G-PoE+
  • Loading branch information
aschaber1 authored Oct 30, 2023
2 parents 5f1cfd3 + 958972d commit ed79042
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion lib/oxidized/model/netgear.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 <hidden>')
Expand Down

0 comments on commit ed79042

Please sign in to comment.