resolved: add dns_packet_set_flags()
authorDaniel Mack <daniel@zonque.org>
Wed, 9 Dec 2015 10:55:54 +0000 (11:55 +0100)
committerDaniel Mack <daniel@zonque.org>
Thu, 10 Dec 2015 09:20:23 +0000 (10:20 +0100)
commitdbfbb6e776d613cb9be76d13de076d08450c9d29
tree3c40097d45e9af359c2b126bc2eb45780b4a89b8
parentee8d930568456a6fd3f4ea0117f900b957044209
resolved: add dns_packet_set_flags()

We need to support the TC bit in queries in case known answers exceed the
maximum packet size. Factor out the flags compilation to
dns_packet_set_flags() and make it externally available.
src/resolve/resolved-dns-packet.c
src/resolve/resolved-dns-packet.h