resolved: simplify dns zone logic: take a single key when looking up entries
authorLennart Poettering <lennart@poettering.net>
Wed, 18 Nov 2015 14:30:54 +0000 (15:30 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 18 Nov 2015 16:07:11 +0000 (17:07 +0100)
commit5032b16dfe395112d72798581664992429f90d17
treef0b3f31a5427d32223e916261f689a615b2b9ddb
parent744c7693751830149ae78fdaf95c6c6f99d59f07
resolved: simplify dns zone logic: take a single key when looking up entries

Instead of taking a DnsQuestion object (i.e. an array of keys) only take
a single key. This simplifies things a bit, and as DNS/LLMNR require a
single question per query message was unnecessary anyway.

This mimics a similar change that was done a while ago for the dns cache
logic.
src/resolve/resolved-dns-scope.c
src/resolve/resolved-dns-zone.c
src/resolve/resolved-dns-zone.h