Hello, What about to use ip_match() instead of ip_equal() in autowhite_add() similarly to the use in autowhite_check() ? It would honour better the "subnetmatch" config like it is already done for the "lazyaw". The attached patch contains the change. In addition too it moves an invariable initialisation operation outside the loop to improve performance. (Some optimiser might already do that anyhow.) Bests, Attila
Message
[milter-greylist] proposed improvement for the subnetmatch option
2005-09-22 by attila.bruncsak@itu.int