Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update firewareos.rb #2780

Merged
merged 3 commits into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## Fixed

- fixed empty lines for ZyXEL GS1900 switches (@jluebbe)
- fixed prompt for Watchguard FirewareOS not matching the regex when the node is non-master (@netdiver)

## [0.29.1 - 2023-04-24]

Expand Down
2 changes: 1 addition & 1 deletion lib/oxidized/model/firewareos.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class FirewareOS < Oxidized::Model
using Refinements

prompt /^\[?\w*\]?\w*?(<\w*>)?(#|>)\s*$/
prompt /^\[?\w*\]?\w*?(<[\w-]*>)?(#|>)\s*$/
comment '-- '

cmd :all do |cfg|
Expand Down