summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorRoss W <rwolfson@users.noreply.github.com>2017-01-31 14:07:55 +0000
committerRoss W <rwolfson@users.noreply.github.com>2017-01-31 14:07:55 +0000
commit48d936205951d8b61daaf1a68c6086c271e5ac0e (patch)
treee88a293a5408ca95726750a8ddcbd508f31c137a /lib/oxidized/model
parent9df07679197247904c7780de025bae52b234f81d (diff)
Filter out rogue client alerts from AireOS
Diffstat (limited to 'lib/oxidized/model')
-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