treat 255.255.255.255 like an mcast address in in_pcbselsrc.
authordlg <dlg@openbsd.org>
Mon, 21 Mar 2022 03:51:09 +0000 (03:51 +0000)
committerdlg <dlg@openbsd.org>
Mon, 21 Mar 2022 03:51:09 +0000 (03:51 +0000)
commit4ffe052345f560790603cccc7346db73d4f62471
tree0fc4ee7f03821bdc9c4b9821a5d8a8c3f5b73ca9
parent22d8fe70649cb743196d9b60e48a177d1c9e462b
treat 255.255.255.255 like an mcast address in in_pcbselsrc.

this allows the IP_MULTICAST_IF sockopt to specify which address
you want to send a limited broadcast (255.255.255.255) packet out
of.

requested by and ok claudio@
sys/netinet/in_pcb.c