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:
committed by
Lennart Poettering
parent
2234cd6a0b
commit
08275791d8
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user