summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2017-04-17 15:17:54 +0300
committerGitHub <noreply@github.com>2017-04-17 15:17:54 +0300
commit0c0f276d870b0babb129c14a5e16bb72a256a9a9 (patch)
treeb451baaa38068a66baaff026ebe121b38d800f01
parent75076da1f7fff120757a9c760018b43a81aecf80 (diff)
parent2d3033c81349e4a061e3b2cde63c035526e516e8 (diff)
Merge pull request #815 from mikenowak/watchguard-prompt-2
Watchguard prompt - fix to #813
-rw-r--r--lib/oxidized/model/firewareos.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/firewareos.rb b/lib/oxidized/model/firewareos.rb
index 5d51afc..f456c60 100644
--- a/lib/oxidized/model/firewareos.rb
+++ b/lib/oxidized/model/firewareos.rb
@@ -1,6 +1,6 @@
class FirewareOS < Oxidized::Model
- prompt /^\[?\w*\]?\w*<?\w*>?(#|>)\s*$/
+ prompt /^([\w.@-]+[#>]\s?)$/
comment '-- '
cmd :all do |cfg|