https://bugs.contribs.org/show_bug.cgi?id=10472
Daniel B. <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
| |m
--- Comment #5 from Daniel B. <[email protected]> ---
(In reply to John Crisp from comment #4)
> Created attachment 6063 [details]
> Updated whitelist subnet patch
>
> Update patch to allow whitelisting IP blocks. Thanks to JPP for spotting my
> deliberate mistake.
>
> This now seems to work OK and you should see the following log entries:
>
>
> whitelist: pass, 86.109.47.21 is a whitelisted host
>
> whitelist: pass, 86.109.101.201 is in a whitelisted block
>
> whitelist: skip: 185.24.171.151 is not whitelisted
>
> I'll try a PR with qpsmtpd but not sure they'll accept it.
Shouldn't you check if $ipNet is defined before using it ? Something like
[...]
elsif ($ipNet && $ipNet->within($hNet)) {
[...]
--
You are receiving this mail because:
You are the QA Contact for the bug._______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/