summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/firewareos.rb
diff options
context:
space:
mode:
authorKodApa85 <parsons151185@gmail.com>2018-04-13 20:30:43 +0100
committerGitHub <noreply@github.com>2018-04-13 20:30:43 +0100
commitdbbe6af563072b62e373a9824c6a23482d20896e (patch)
treeab5341e8b1cd37aa0abf54662714f272cd8f9633 /lib/oxidized/model/firewareos.rb
parent97aa0535a0c8c237c1ccb7a1683d5f6faa1f0339 (diff)
parent56ec279b2e9e2735ed88405fd177e77f9e376801 (diff)
Merge branch 'master' into xgs4600-cli
Diffstat (limited to 'lib/oxidized/model/firewareos.rb')
-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 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|