Skip to content
Browse files

fix crash on malformed results/parser fail

Signed-off-by: koniu <gkusnierz@gmail.com>
  • Loading branch information...
1 parent 43842a8 commit beb4c62f072818bdb7023a2d21ebed10de39b255 @koniu committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 wassup.lua
View
2 wassup.lua
@@ -587,7 +587,7 @@ while state.iter < reps do
state.results = {}
for i = 1, #res do
local ap = parse(method, res[i], survey)
- if ap.bssid then
+ if ap.bssid and ap.sig then
state.results[ap.bssid] = ap
update_ap(ap.bssid)
end

0 comments on commit beb4c62

Please sign in to comment.
Something went wrong with that request. Please try again.