diff --git a/lib/oxidized/model/sros.rb b/lib/oxidized/model/sros.rb index 4e0c0aa47..a1be6026d 100644 --- a/lib/oxidized/model/sros.rb +++ b/lib/oxidized/model/sros.rb @@ -32,7 +32,7 @@ class SROS < Oxidized::Model # # Strip uptime. # - cfg.sub! /^System Up Time.*\n/, '' + cfg.gsub! /^System Up Time.*$/, '' comment cfg end