diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-02-11 01:43:16 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-02-18 18:13:20 +0100 |
commit | 08275791d85a1852e79951212f6cbbc727db789a (patch) | |
tree | cb0a9750a789b2569551c872281b7e6e67a745f6 /src/resolve/resolved-bus.c | |
parent | Merge pull request #22562 from poettering/logind-bool-fix (diff) | |
download | systemd-08275791d85a1852e79951212f6cbbc727db789a.tar.xz systemd-08275791d85a1852e79951212f6cbbc727db789a.zip |
resolve: add reference of the original bus message to the aux queries
Otherwise, the error in aux queries cannot be replied.
Fixes #22477.
Diffstat (limited to '')
-rw-r--r-- | src/resolve/resolved-bus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resolve/resolved-bus.c b/src/resolve/resolved-bus.c index 5607dcc29f..88c67e1c39 100644 --- a/src/resolve/resolved-bus.c +++ b/src/resolve/resolved-bus.c @@ -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; |