From 48d936205951d8b61daaf1a68c6086c271e5ac0e Mon Sep 17 00:00:00 2001 From: Ross W Date: Tue, 31 Jan 2017 14:07:55 +0000 Subject: Filter out rogue client alerts from AireOS --- lib/oxidized/model/aireos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/oxidized') diff --git a/lib/oxidized/model/aireos.rb b/lib/oxidized/model/aireos.rb index 7e9d49e..7056e3f 100644 --- a/lib/oxidized/model/aireos.rb +++ b/lib/oxidized/model/aireos.rb @@ -44,7 +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}:/ + next if line.match /rogue (adhoc|client) alert [\da-f]{2}:/ line = line[1..-1] if line[0] == "\r" out << line.strip end -- cgit v1.2.1