From cb9c2c8b97761cc5e00051efd74c9c3fdaf5762d Mon Sep 17 00:00:00 2001 From: byt3bl33d3r Date: Mon, 3 Aug 2015 02:08:54 +0200 Subject: [PATCH] changed operand --- poisoners/MDNS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poisoners/MDNS.py b/poisoners/MDNS.py index 5cfbc10..9d003b9 100644 --- a/poisoners/MDNS.py +++ b/poisoners/MDNS.py @@ -49,7 +49,7 @@ class MDNS(BaseRequestHandler): Request_Name = Parse_MDNS_Name(data) # Break out if we don't want to respond to this host - if Request_name and RespondToThisHost(self.client_address[0], Request_Name) is not True: + if (not Request_name) or (RespondToThisHost(self.client_address[0], Request_Name) is not True): return None try: