diff options
-rw-r--r-- | Gemfile.lock | 2 | ||||
-rw-r--r-- | lib/oxidized/model/fortios.rb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index f60b12f..8d19651 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - oxidized (0.10.0) + oxidized (0.11.0) asetus (~> 0.1) net-ssh (~> 3.0, >= 3.0.2) rugged (~> 0.21, >= 0.21.4) diff --git a/lib/oxidized/model/fortios.rb b/lib/oxidized/model/fortios.rb index a9d219c..41bdede 100644 --- a/lib/oxidized/model/fortios.rb +++ b/lib/oxidized/model/fortios.rb @@ -11,6 +11,7 @@ class FortiOS < Oxidized::Model cmd 'get system status' do |cfg| @vdom_enabled = cfg.include? 'Virtual domain configuration: enable' + cfg.gsub!(/(System time: )(.*)/, '\1<stripped>\3') comment cfg end |