summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-link.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolve/resolved-link.c')
-rw-r--r--src/resolve/resolved-link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-link.c b/src/resolve/resolved-link.c
index 53b1e3c6a0..ed176ab417 100644
--- a/src/resolve/resolved-link.c
+++ b/src/resolve/resolved-link.c
@@ -151,7 +151,7 @@ static int link_update_dns_servers(Link *l) {
assert(l);
- r = sd_network_get_dns(l->ifindex, &nameservers);
+ r = sd_network_get_link_dns(l->ifindex, &nameservers);
if (r < 0)
goto clear;
@@ -195,7 +195,7 @@ static int link_update_llmnr_support(Link *l) {
assert(l);
- r = sd_network_get_llmnr(l->ifindex, &b);
+ r = sd_network_get_link_llmnr(l->ifindex, &b);
if (r < 0)
goto clear;