$NetBSD: patch-postgrey,v 1.4 2019/09/06 09:58:26 jperkin Exp $

Backport https://github.com/schweikert/postgrey/pull/34

--- postgrey.orig	2019-09-06 09:53:38.119350175 +0000
+++ postgrey
@@ -185,12 +185,6 @@ sub do_client_substitutions($$$)
     my $ipaddr;
     if($ip =~ /\./) {
         # IPv4
-        my @ip=split(/\./, $ip);
-        return ($ip, undef) unless defined $ip[3];
-        # skip if it contains the last two IP numbers in the hostname
-        # (we assume it is a pool of dialup addresses of a provider)
-        return ($ip, undef) if $revdns =~ /$ip[2]/ and $revdns =~ /$ip[3]/;
-
         $ipaddr = NetAddr::IP->new($ip, $self->{postgrey}{ipv4cidr});
     }
     elsif($ip =~ /:/) {
