]> CyberLeo.Net >> Repos - FreeBSD/releng/8.2.git/commit
MFC: 217169
authordeischen <deischen@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 11 Jan 2011 19:43:35 +0000 (19:43 +0000)
committerdeischen <deischen@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 11 Jan 2011 19:43:35 +0000 (19:43 +0000)
commitb66753a4f2196c512bff97333fdb4d3a55f1bbae
tree9920145b6e6e6454ff65b16c13c6d4c3d1eec682
parent66fe0c4ad4c25f5c1ba0e27d48be6098ae2df64e
MFC: 217169

Make sure to always do source address selection on
an unbound socket, regardless of any multicast options.
If an address is specified via a multicast option, then
let it override normal the source address selection.

This fixes a bug where source address selection was
not being performed when multicast options were present
but without an interface being specified.

Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/8.2@217280 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet/in_pcb.c