summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorPaul Beers <paul@peezs.nl>2017-06-09 13:45:13 +0200
committerPaul Beers <paul@peezs.nl>2017-06-09 13:45:13 +0200
commit6f2da873140359a598fda47c13a963a0d9d290cb (patch)
tree559dbfd2bb0c3e3a309fe0a21804a6adb37819e8 /lib/oxidized/model
parent2e74e3fb2a9369beba64be0176c9d89e91f37bf0 (diff)
Removed bytes from show flash
Diffstat (limited to 'lib/oxidized/model')
-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 ee45e32..af8d19e 100644
--- a/lib/oxidized/model/ironware.rb
+++ b/lib/oxidized/model/ironware.rb
@@ -52,6 +52,7 @@ class IronWare < Oxidized::Model
end
cmd 'show flash' do |cfg|
+ cfg.gsub! /(\d+) bytes/, '' # Fix for ADX flash size
comment cfg
end