changed operand

This commit is contained in:
byt3bl33d3r 2015-08-03 02:08:54 +02:00
commit cb9c2c8b97

View file

@ -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: