From 9a134db581c8618c703b35960796e9b4b14c2be3 Mon Sep 17 00:00:00 2001 From: Alexandre-io Date: Thu, 12 Oct 2017 18:29:36 +0200 Subject: Fix prompt pattern for firewareos clusters and standalone --- lib/oxidized/model/firewareos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized/model/firewareos.rb') 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| -- cgit v1.2.1