summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-04-25 10:03:28 -0700
committerytti <saku@ytti.fi>2016-04-25 10:03:28 -0700
commit8c7b4a7e780a3ccc50299e801b6f647cb3ee5486 (patch)
tree0454cf19dd32761f36471df211a738df25de0cc8
parent4aad5448801925fd0b26c92f5e69b53751334d6e (diff)
parent9a1634efb53bc3d3fad88ec45c78a0a8661f54d7 (diff)
Merge pull request #402 from TibshoOT/ironware_uptime_bug
Patch for ironware 07.2.02kT3e3 version
-rw-r--r--lib/oxidized/model/ironware.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/ironware.rb b/lib/oxidized/model/ironware.rb
index 55b6e57..1e8c30e 100644
--- a/lib/oxidized/model/ironware.rb
+++ b/lib/oxidized/model/ironware.rb
@@ -23,6 +23,7 @@ class IronWare < Oxidized::Model
cmd 'show version' do |cfg|
cfg.gsub! /(^((.*)[Ss]ystem uptime(.*))$)/, '' #remove unwanted line system uptime
+ cfg.gsub! /(^((.*)[Tt]he system started at(.*))$)/, ''
cfg.gsub! /[Uu]p\s?[Tt]ime is .*/,''
comment cfg