]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: fix the return type for dns_response_get_query_id() function
authorThiago Farina <tfarina@chromium.org>
Wed, 20 Jan 2016 22:46:34 +0000 (23:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 20 Jan 2016 22:51:24 +0000 (23:51 +0100)
commitb1af23ebeaa65353a8de27279bc00372cf10d359
tree5d32d31ff99f67d50dc611a9f00abc739b87e98a
parentbb107185d1985eb7a45ecb2fe0119b8e8f9b3233
MINOR: fix the return type for dns_response_get_query_id() function

This function should return a 16-bit type as that is the type for
dns header id.
Also because it is doing an uint16 unpack big-endian operation.

Backport: can be backported to 1.6

Signed-off-by: Thiago Farina <tfarina@chromium.org>
Signed-off-by: Baptiste Assmann <bedis9@gmail.com>
include/proto/dns.h
src/dns.c