summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-wait-online-link.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-13 22:55:49 +0200
committerTom Gundersen <teg@jklm.no>2014-08-13 22:55:49 +0200
commit438ca2bbd4dc1de6193ec61f3c12e19cded7921d (patch)
treea90c3791fd4a9d231616d6f6ee93f36f3a1b47f0 /src/network/networkd-wait-online-link.c
parentsd-network: rename operstates 'down' -> 'off' and 'up' -> 'no-carrier' (diff)
downloadsystemd-438ca2bbd4dc1de6193ec61f3c12e19cded7921d.tar.xz
systemd-438ca2bbd4dc1de6193ec61f3c12e19cded7921d.zip
sd-networkd: rename link_get_state to link_get_setup_state
Suggested by Kay and Lennart.
Diffstat (limited to 'src/network/networkd-wait-online-link.c')
-rw-r--r--src/network/networkd-wait-online-link.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-wait-online-link.c b/src/network/networkd-wait-online-link.c
index 1670beefab..f23c7ceb80 100644
--- a/src/network/networkd-wait-online-link.c
+++ b/src/network/networkd-wait-online-link.c
@@ -131,7 +131,7 @@ int link_update_monitor(Link *l) {
free(l->state);
l->state = NULL;
- sd_network_link_get_state(l->ifindex, &l->state);
+ sd_network_link_get_setup_state(l->ifindex, &l->state);
return 0;
}