From 9706e4552624341c9ea743f52a02d9991a0db82d Mon Sep 17 00:00:00 2001 From: mediumo Date: Tue, 26 Jul 2016 10:13:50 +0200 Subject: Add files via upload removed current bandwith from get system, because it can create different config versions when there is traffic on the interfaces. current bw is just stats. --- lib/oxidized/model/screenos.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/oxidized/model/screenos.rb b/lib/oxidized/model/screenos.rb index 7ee9d9f..269f256 100644 --- a/lib/oxidized/model/screenos.rb +++ b/lib/oxidized/model/screenos.rb @@ -20,6 +20,7 @@ class ScreenOS < Oxidized::Model cmd 'get system' do |cfg| cfg.gsub! /^Date\ .*\n/, '' cfg.gsub! /^Up\ .*\n/, '' + cfg.gsub! /(current bw ).*/, '\\1 ' comment cfg end -- cgit v1.2.1