summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/aireos.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-03-05 15:36:28 +0200
committerSaku Ytti <saku@ytti.fi>2014-03-05 15:36:28 +0200
commit81cfa3e5d5cd53c7862da5740543b6ea5bc8f5d0 (patch)
tree7277dce173635ffb2548ebb5055e368de3a89de6 /lib/oxidized/model/aireos.rb
parentf8be9c5a3597768128d70209daf4d40e527a7880 (diff)
Ignore rogue adhoc alert macs
They keep changing dynamically in config
Diffstat (limited to 'lib/oxidized/model/aireos.rb')
-rw-r--r--lib/oxidized/model/aireos.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/aireos.rb b/lib/oxidized/model/aireos.rb
index 8f5f646..7e9d49e 100644
--- a/lib/oxidized/model/aireos.rb
+++ b/lib/oxidized/model/aireos.rb
@@ -44,6 +44,7 @@ class Aireos < Oxidized::Model
out = []
cfg.each_line do |line|
next if line.match /^\s*$/
+ next if line.match /rogue adhoc alert [\da-f]{2}:/
line = line[1..-1] if line[0] == "\r"
out << line.strip
end