dnsproxy: DNS response answer count was incorrectly set
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Fri, 18 Jan 2013 12:11:32 +0000 (14:11 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 18 Jan 2013 14:48:58 +0000 (16:48 +0200)
commit049758a2c2316d2f3df22235c8965b2e525db4cc
tree1ab4f6dc0f73369ee3f59753a81945385376ee34
parenta07312e3a052f409e4457e26b258119ef4084368
dnsproxy: DNS response answer count was incorrectly set

We set the answer count in host byte order instead of network
byte order when sending cached AAAA record. This problem is only
seen in special case when an AAAA record is generated by us when
there is IPv4 address in cache but no IPv6 address for the host.
src/dnsproxy.c