diff --git a/what_vpn/sniffers.py b/what_vpn/sniffers.py index df3e77f..0d22963 100644 --- a/what_vpn/sniffers.py +++ b/what_vpn/sniffers.py @@ -355,10 +355,9 @@ def sonicwall_nx(sess, server): serverh = r.headers.get('server') if 'EXTRAWEB_STATE' in sess.cookies: confidence = 0.8 - else: - confidence = 0.3 - if 'SonicWall' in r.text: - confidence += 0.2 + elif 'SonicWall' in r.text: + confidence += 0.2 + return Hit(name='SonixWall NX', confidence=confidence, version=serverh)