resolved: port ResolveRecord() bus call implementation to dns_resource_record_to_wire...
authorLennart Poettering <lennart@poettering.net>
Wed, 2 Dec 2015 20:05:21 +0000 (21:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 Dec 2015 21:50:11 +0000 (22:50 +0100)
commit4e2d538f33df8a425487aaa4facc23065a9bdaf7
tree281464b060b8aec12903cf7c7acdb974a52700f5
parenta8812dd7f161a3e459c1730ac92ff2bbc9986ff1
resolved: port ResolveRecord() bus call implementation to dns_resource_record_to_wire_format()

Now that we have dns_resource_record_to_wire_format() we can generate
the RR serialization we return to bus clients in ResolveRecord() with
it. We pass the RR data along in the original form, not the DNSSEC
canonical form, since that would mean we'd lose RR name casing, which is
however important to keep for DNS-SD services and similar.
src/resolve/resolved-bus.c