lib/oxidized/model/aireos.rb in oxidized-0.19.0 vs lib/oxidized/model/aireos.rb in oxidized-0.20.0
- old
+ new
@@ -42,10 +42,10 @@
def clean cfg
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|Unknown) [\da-f]{2}:/
line = line[1..-1] if line[0] == "\r"
out << line.strip
end
out = out.join "\n"
out << "\n"