diff options
author | mediumo <oh@onsteroids.net> | 2016-07-26 10:13:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-26 10:13:50 +0200 |
commit | 9706e4552624341c9ea743f52a02d9991a0db82d (patch) | |
tree | 4b344e5bd5adcd0d480d51ec1f8e07a231b00def | |
parent | 3114b0e399c54768031d4c070cf086534ddd4577 (diff) |
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.
-rw-r--r-- | lib/oxidized/model/screenos.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 <removed>' comment cfg end |