summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2017-01-31 18:34:27 +0200
committerGitHub <noreply@github.com>2017-01-31 18:34:27 +0200
commita5fe9838187553983010d9c8076825fa468751a4 (patch)
treee88a293a5408ca95726750a8ddcbd508f31c137a
parent9df07679197247904c7780de025bae52b234f81d (diff)
parent48d936205951d8b61daaf1a68c6086c271e5ac0e (diff)
Merge pull request #679 from rwolfson/filterupdates
Filter out rogue client alerts from AireOS
-rw-r--r--lib/oxidized/model/aireos.rb2
1 files changed, 1 insertions, 1 deletions
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