diff options
author | Elvin Efendi <elvin.efendiyev@gmail.com> | 2016-02-04 12:29:47 -0500 |
---|---|---|
committer | Elvin Efendi <elvin.efendiyev@gmail.com> | 2016-02-04 12:29:47 -0500 |
commit | a532a6307796d2195f827930304100c3b48ed20e (patch) | |
tree | 8953dbf2808bb200ca389df0556ef6b6bec2beac /lib | |
parent | a26f6f42aad72d8aac3e4eb107bf6458fc6d302f (diff) | |
parent | 1e202c0dc861f534a0c9ad009921ef258467a926 (diff) |
Merge pull request #19 from Shopify/strip-fortigate-systime
stripe system time value in fortigate
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/fortios.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |