Fixing error on snooping/IP entrance when given IP is the empty string