summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/aireos.rb
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-09-12 11:23:45 +0200
committerGitHub <noreply@github.com>2018-09-12 11:23:45 +0200
commit7c02a230dc970c2946770f6893e35c627b6b1ec0 (patch)
treed77395371f89aa8efe01d7fa8a194fb3bf9ed58c /lib/oxidized/model/aireos.rb
parent58c5310ae1406f1b6d7f1794d8574597c8698138 (diff)
add a new line after guard clauses for better visual flow (#1520)
Diffstat (limited to 'lib/oxidized/model/aireos.rb')
-rw-r--r--lib/oxidized/model/aireos.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/aireos.rb b/lib/oxidized/model/aireos.rb
index 84bbb3f..e8e1f30 100644
--- a/lib/oxidized/model/aireos.rb
+++ b/lib/oxidized/model/aireos.rb
@@ -44,6 +44,7 @@ class Aireos < Oxidized::Model
cfg.each_line do |line|
next if line.match /^\s*$/
next if line.match /rogue (adhoc|client) (alert|Unknown) [\da-f]{2}:/
+
line = line[1..-1] if line[0] == "\r"
out << line.strip
end