resolve: add reference of the original bus message to the aux queries

Otherwise, the error in aux queries cannot be replied.

Fixes #22477.
This commit is contained in:
Yu Watanabe
2022-02-18 18:13:20 +01:00
committed by Lennart Poettering
parent 2234cd6a0b
commit 08275791d8
+1
View File
@@ -1137,6 +1137,7 @@ static int resolve_service_hostname(DnsQuery *q, DnsResourceRecord *rr, int ifin
if (r < 0)
return r;
aux->bus_request = sd_bus_message_ref(q->bus_request);
aux->request_family = q->request_family;
aux->complete = resolve_service_hostname_complete;