K 10
svn:author
V 6
iulius
K 8
svn:date
V 27
2008-04-25T11:55:39.131605Z
K 7
svn:log
V 736
bindaddress/bindaddress6 keys can now be set on a per-peer basis
in innfeed.conf.

Setting "bindaddress6: none" is equivalent to "force-ipv4: true".

Both bindaddress and bindaddress6 work simultaneously, using
bindaddress for IPv4 peer addresses and bindaddress6 for IPv6 peer
addresses.  If a peer has IPv6 addresses, and at least one of them
works, it never falls back to IPv4.  If none of the IPv6 addresses
works, it falls back to IPv4.

Since the server cannot connect to an IPv4 address if it binds to an
IPv6 address and the other way around, hostIpAddr() has been
changed to take an extra "family" argument, so that IPv4 addresses
are skipped for IPv6 sockets and vice versa.

Thanks to Miquel van Smoorenburg for this patch.


END
