You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/10/17 06:25:15 UTC

[Bug 4412] [review] DnsResolver.pm/connect_sock() fails on IPv6 resolver address

http://bugzilla.spamassassin.org/show_bug.cgi?id=4412





------- Additional Comments From sidney@sidney.com  2005-10-16 21:25 -------
I'm adding a commment here to document a change related to commment 24 that I
just checked in as revision 325836 for bug 4619 in case a problem leads back to
this bug report.

That change contains a different fix for this bug's comment 24 that does not
require using the AF_INET6 macro and therefore doesn't neeed the various tests
for AF_INET6 being defined. The problem brought up in comment 24 is that on some
platforms creating a socket using AF_UNSPEC doesn't work if the source and
destination addresses are in different domains, with the symptom being an EINVAL
error on the send. Instead of replacing AF_UNSPEC with AF_INET6 or AF_INET, as
was done here, the new fix replaces the LocalAddr with "::" or "0.0.0.0" to
match the PeerAddr family.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.