summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/dlink.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/dlink.rb')
-rw-r--r--lib/oxidized/model/dlink.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/dlink.rb b/lib/oxidized/model/dlink.rb
index 5756bad..0d08793 100644
--- a/lib/oxidized/model/dlink.rb
+++ b/lib/oxidized/model/dlink.rb
@@ -15,6 +15,7 @@ class Dlink < Oxidized::Model
end
cmd 'show switch' do |cfg|
+ cfg.gsub! /^System\ Uptime\s.+/, '' # Omit constantly changing uptime info
comment cfg
end