--- a/awitpt/awitpt/netip.pm
+++ b/awitpt/awitpt/netip.pm
@@ -234,9 +234,9 @@
 {
 	my ($self,$test) = @_;
 
-	# We can only compare IPs of same type
+	# IPs of different types are obviously not the same.
 	if ($self->{'ip_version'} != $test->{'ip_version'}) {
-		return undef;
+		return 0;
 	}
 
 	# Check which matcher to use
