diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-07-13 02:05:15 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-07-20 21:04:49 +0200 |
commit | 1b86009298c0c15678abb976e561de64f65decc9 (patch) | |
tree | ea385ecafed601c96d14c68a6a530226b1ebfbdf /src/resolve/resolved-link-bus.c | |
parent | resolve: support port specifier in DNS= setting (diff) | |
download | systemd-1b86009298c0c15678abb976e561de64f65decc9.tar.xz systemd-1b86009298c0c15678abb976e561de64f65decc9.zip |
resolve: also compare port and SNI in dns_server_find()
Diffstat (limited to 'src/resolve/resolved-link-bus.c')
-rw-r--r-- | src/resolve/resolved-link-bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-link-bus.c b/src/resolve/resolved-link-bus.c index 62afe698c6..1694b1aa5a 100644 --- a/src/resolve/resolved-link-bus.c +++ b/src/resolve/resolved-link-bus.c @@ -281,7 +281,7 @@ int bus_link_method_set_dns_servers(sd_bus_message *message, void *userdata, sd_ for (i = 0; i < n; i++) { DnsServer *s; - s = dns_server_find(l->dns_servers, dns[i].family, &dns[i].address, 0); + s = dns_server_find(l->dns_servers, dns[i].family, &dns[i].address, 0, 0, NULL); if (s) dns_server_move_back_and_unmark(s); else { |