dnsproxy: Set recipient address when sending msg to DNS server
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Mon, 17 Sep 2012 13:43:51 +0000 (16:43 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 26 Sep 2012 09:32:46 +0000 (12:32 +0300)
commitd7cc1127adb34e32128b0917f458375c3d1b996f
treec6ef0b451431af37bdbd98b857caf5729b09bb76
parentf6b4a7c12c2a76525714e54c1ced0a85cd425626
dnsproxy: Set recipient address when sending msg to DNS server

There has been cases where send() is returning EINVAL even though
there is a connected the socket. So use sendto() instead and supply
the destination address when sending.
src/dnsproxy.c