diff options
author | ytti <saku@ytti.fi> | 2018-03-17 16:12:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-17 16:12:38 +0200 |
commit | a9af29b42879d4cac8df88c96891b44b98719b90 (patch) | |
tree | 8afcb7c493ebc7e232c60299f42e24cd2f02da9f /lib/oxidized | |
parent | 8177e2fd81efc0237a41c28f385e555325241b4d (diff) | |
parent | 9a134db581c8618c703b35960796e9b4b14c2be3 (diff) |
Merge pull request #1063 from Alexandre-io/fix-firewareos-cluster
Fix prompt pattern for firewareos clusters
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/model/firewareos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/firewareos.rb b/lib/oxidized/model/firewareos.rb index f456c60..1b3d07c 100644 --- a/lib/oxidized/model/firewareos.rb +++ b/lib/oxidized/model/firewareos.rb @@ -1,6 +1,6 @@ class FirewareOS < Oxidized::Model - prompt /^([\w.@-]+[#>]\s?)$/ + prompt /^\[?\w*\]?\w*?(<\w*>)?(#|>)\s*$/ comment '-- ' cmd :all do |cfg| |