summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/aosw.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/model/aosw.rb b/lib/oxidized/model/aosw.rb
index 1995292..adf481b 100644
--- a/lib/oxidized/model/aosw.rb
+++ b/lib/oxidized/model/aosw.rb
@@ -36,10 +36,12 @@ class AOSW < Oxidized::Model
end
cmd 'show slots' do |cfg|
+ cfg = "" if cfg.match /Invalid input detected at '\^' marker/ #Don't show for unsupported devices
rstrip_cfg comment cfg
end
cmd 'show license' do |cfg|
+ cfg = "" if cfg.match /Invalid input detected at '\^' marker/ #Don't show for unsupported devices
rstrip_cfg comment cfg
end