From 81cfa3e5d5cd53c7862da5740543b6ea5bc8f5d0 Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Wed, 5 Mar 2014 15:36:28 +0200 Subject: Ignore rogue adhoc alert macs They keep changing dynamically in config --- lib/oxidized/model/aireos.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/oxidized') 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 -- cgit v1.2.1