diff options
author | ytti <saku@ytti.fi> | 2016-07-26 12:44:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-26 12:44:02 +0300 |
commit | c6246680d2cb524cba36d414411f6546224130e3 (patch) | |
tree | 327d8483ebafbfbecc5706fd78071d1410808c5e /lib/oxidized/model | |
parent | 3114b0e399c54768031d4c070cf086534ddd4577 (diff) | |
parent | 1f51347fc4924fca04513182b3cc6fb61ef52528 (diff) |
Merge pull request #510 from mediumo/master
removed current bw stats from screenos 'get system'
Diffstat (limited to 'lib/oxidized/model')
-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..0258898 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 |