summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-wait-online-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/network/networkd-wait-online-link.c
parentnetworkctl: color status dump without link name (diff)
downloadsystemd-d6731e4c7964ee2860d4f5abdb0b52acd7a66960.tar.xz
systemd-d6731e4c7964ee2860d4f5abdb0b52acd7a66960.zip
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/network/networkd-wait-online-link.c')
-rw-r--r--src/network/networkd-wait-online-link.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-wait-online-link.c b/src/network/networkd-wait-online-link.c
index 47fb0c05df..1670beefab 100644
--- a/src/network/networkd-wait-online-link.c
+++ b/src/network/networkd-wait-online-link.c
@@ -126,12 +126,12 @@ int link_update_monitor(Link *l) {
free(l->operational_state);
l->operational_state = NULL;
- sd_network_get_link_operational_state(l->ifindex, &l->operational_state);
+ sd_network_link_get_operational_state(l->ifindex, &l->operational_state);
free(l->state);
l->state = NULL;
- sd_network_get_link_state(l->ifindex, &l->state);
+ sd_network_link_get_state(l->ifindex, &l->state);
return 0;
}