diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-24 01:25:24 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-25 21:58:32 +0100 |
commit | 703e4f5e39c019da8c002ba10bd450ce378c0e91 (patch) | |
tree | e5d988cd7fa48e521ce4ed2708142d5ae3ed64be /src/hwdb | |
parent | ac7653a43314aed75ba6d9516cd596000a7355f9 (diff) |
resolved: don't claim DnsQuestion have to have the same names
Wen DnsQuestion objects are used for DnsQuery objects all contained keys
have to share the same name, but otherwise they generally don't have to,
and this can actually happen in real-life because DnsPacket objects for
mDNS use DnsQuestion for the question section.
Hence, rename:
dns_question_is_valid() to dns_question_is_valid_for_query(), since the
name uniqueness check it does is only relevant when used for a query.
Similar, rename dns_question_name() to dns_question_first_name(),
to be more accurate, as this difference matters if we keys don#t have to
share the same name.
Diffstat (limited to 'src/hwdb')
0 files changed, 0 insertions, 0 deletions