Fix the minimal check for an invalid IP returned. Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>