summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-link.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-13 22:37:45 +0200
committerTom Gundersen <teg@jklm.no>2014-08-13 22:37:45 +0200
commitd6731e4c7964ee2860d4f5abdb0b52acd7a66960 (patch)
tree4907195ea25faf6d3db37aa1f6d2fed4ad5f1ca6 /src/resolve/resolved-link.c
parent5323ead145304785121b72dcbc1c244303de7575 (diff)
sd-network: /_get_link_/_link_get_/
The link is the 'object', so make this in line with our usual naming convention. Suggested by Kay and Lennart.
Diffstat (limited to 'src/resolve/resolved-link.c')
-rw-r--r--src/resolve/resolved-link.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resolve/resolved-link.c b/src/resolve/resolved-link.c
index 7dcaf18630..fea52d94b6 100644
--- a/src/resolve/resolved-link.c
+++ b/src/resolve/resolved-link.c
@@ -157,7 +157,7 @@ static int link_update_dns_servers(Link *l) {
assert(l);
- r = sd_network_get_link_dns(l->ifindex, &nameservers);
+ r = sd_network_link_get_dns(l->ifindex, &nameservers);
if (r < 0)
goto clear;
@@ -201,7 +201,7 @@ static int link_update_llmnr_support(Link *l) {
assert(l);
- r = sd_network_get_link_llmnr(l->ifindex, &b);
+ r = sd_network_link_get_llmnr(l->ifindex, &b);
if (r < 0)
goto clear;
@@ -251,7 +251,7 @@ bool link_relevant(Link *l, int family) {
if ((l->flags & (IFF_UP|IFF_LOWER_UP|IFF_MULTICAST)) != (IFF_UP|IFF_LOWER_UP|IFF_MULTICAST))
return false;
- sd_network_get_link_operational_state(l->ifindex, &state);
+ sd_network_link_get_operational_state(l->ifindex, &state);
if (state && !STR_IN_SET(state, "unknown", "degraded", "routable"))
return false;