dnsproxy: Use DNS header in checks
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 20 Jun 2012 10:38:39 +0000 (13:38 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 20 Jun 2012 11:11:39 +0000 (14:11 +0300)
commit1055cd4d6e435cf32c0597518129b6ec48d9c844
tree3f4be2f5f1b463b0750fccdbbd9f96cef989d624
parentc7af063414315eecfb76cc99d07f19b5357e4b94
dnsproxy: Use DNS header in checks

We should use the DNS header struct when checking DNS
protocol values instead of using pointer so that the
TCP offset is properly taken care of.
src/dnsproxy.c