Bjoern A. Zeeb 4d457387fe Properly check for an IPv4 socket after r219579.
In some cases as udp6_connect() without an earlier bind(2) to an
address, v4-mapped scokets allowed and a non mapped destination
address, we can end up here with both v4 and v6 indicated:
	inp_vflag = (INP_IPV4|INP_IPV6|INP_IPV6PROTO)

In that case however laddrp is NULL as the IPv6 path does not
pass in a copy currently.

Reported by:	Pawel Worach (pawel.worach gmail.com)
Tested by:	Pawel Worach (pawel.worach gmail.com)
MFC after:	6 days
X-MFC with:	r219579
2011-03-19 19:08:54 +00:00
..
2011-02-21 09:01:34 +00:00
2011-02-21 09:01:34 +00:00
2011-02-21 09:01:34 +00:00
2010-09-02 17:43:44 +00:00
2011-02-26 15:23:46 +00:00
2011-01-07 21:40:34 +00:00
2011-01-07 21:40:34 +00:00
2011-02-21 09:01:34 +00:00
2011-01-07 21:40:34 +00:00
2011-01-07 21:40:34 +00:00
2011-01-07 21:40:34 +00:00
2011-01-07 21:40:34 +00:00