1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-qpsmtpd-1.2.1/root/usr/share/qpsmtpd/plugins/peers mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/usr/share/qpsmtpd/plugins/peers |
2 |
--- smeserver-qpsmtpd-1.2.1/root/usr/share/qpsmtpd/plugins/peers 2006-10-22 18:37:24.000000000 -0400 |
3 |
+++ mezzanine_patched_smeserver-qpsmtpd-1.2.1/root/usr/share/qpsmtpd/plugins/peers 2006-10-22 18:37:08.000000000 -0400 |
4 |
@@ -60,7 +60,7 @@ |
5 |
_peer_plugins($qp, "peers/$client_ip"); |
6 |
return (DECLINED); |
7 |
} |
8 |
- $client_ip =~ s/\.+\d+\.?$//; # strip off another 8 bits |
9 |
+ $client_ip =~ s/\.?\d+$//; # strip off another 8 bits |
10 |
} |
11 |
if (-f "config/peers/0") { |
12 |
_peer_plugins($qp, "peers/0"); |