summaryrefslogtreecommitdiff
path: root/src/resolve
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-11 22:56:52 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-11 22:56:52 +0200
commit6436165dbc500f14abfec738af28f87a71f6a12a (patch)
treee7cd22f27cb3dee8383a00ea86eda27c2b49f5e9 /src/resolve
parent44e7b9492617408130d11ffa451c2660942974f6 (diff)
sd-network: rename the per-ifindex calls to sd_network_get_link_xxx()
This way we can introduce system-wide versions of these calls that are called the same way, but without the "link" in the name.
Diffstat (limited to 'src/resolve')
-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;