Hi,
>>>>> On Mon, 7 Aug 2006 23:44:06 +0200
>>>>> Fabien Tassin <fta+miltergreylist@...> said:
fta+miltergreylist> iptostring() called by autowhite_timeout() is not able to
fta+miltergreylist> resolve AF_INET6 addresses.
fta+miltergreylist> The size of the buffer should not use IPADDRLEN but IPADDRSTRLEN.
fta+miltergreylist> Now works for me.
Yes, it seems there are more places to be fixed as well.
fta+miltergreylist> + char buf[IPADDRSTRLEN + 1];
You don't need adding 1 to IPADDRSTRLEN. Just use IPADDRSTRLEN.
Sincerely,
--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@... ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/Message
Re: [milter-greylist] [PATCH] bug in autowhite_timeout()
2006-08-08 by Hajimu UMEMOTO