summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/dcnos.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model/dcnos.rb')
-rw-r--r--lib/oxidized/model/dcnos.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/dcnos.rb b/lib/oxidized/model/dcnos.rb
index f53bc0d..ec0c7f6 100644
--- a/lib/oxidized/model/dcnos.rb
+++ b/lib/oxidized/model/dcnos.rb
@@ -9,6 +9,7 @@ class DCNOS < Oxidized::Model
comment '! '
cmd 'show version' do |cfg|
+ cfg = cfg.gsub! /^(Uptime is ).*/, ''
comment cfg
end