diff options
author | root <oh@onsteroids.net> | 2017-02-06 20:20:46 +0100 |
---|---|---|
committer | root <oh@onsteroids.net> | 2017-02-06 20:20:46 +0100 |
commit | a9587eca976763d82e588a3887805d1cb3e2e27f (patch) | |
tree | 244578cd03fa27b5f7fa0e22b66d7be3a3dde745 /lib | |
parent | 86830621575d605ed2515e8c1df1fc0c6a87ab5b (diff) |
changed "diagnose autoupdate version" behaviour, since with every update of signatures the config version is changed
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/fortios.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/fortios.rb b/lib/oxidized/model/fortios.rb index fa8fd33..cdb50d5 100644 --- a/lib/oxidized/model/fortios.rb +++ b/lib/oxidized/model/fortios.rb @@ -34,7 +34,7 @@ class FortiOS < Oxidized::Model end cfg << cmd('diagnose autoupdate version') do |cfg| - comment cfg + comment cfg.each_line.reject { |line| line.match /Last Update|Result/ }.join end cfg << cmd('end') if @vdom_enabled |