summaryrefslogtreecommitdiff
path: root/src/network/networkd-wait-online-link.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-01-29 07:34:34 +0100
committerTom Gundersen <teg@jklm.no>2015-01-31 15:26:08 +0100
commit79b1f37d95f08fe7620b071eec51d2810ed077c9 (patch)
treea80e71691b9b8dd57639c5d5351a41a154dec1c7 /src/network/networkd-wait-online-link.c
parent233ba5c3a0f73e01fe6149fd8c377826a83c2a0a (diff)
networkd-wait-online: allow specific devices to be ignored
In addition to the loopback device, also explicitly configured devices to be ignored. Suggested by Charles Devereaux <systemd@guylhem.net>.
Diffstat (limited to 'src/network/networkd-wait-online-link.c')
-rw-r--r--src/network/networkd-wait-online-link.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/network/networkd-wait-online-link.c b/src/network/networkd-wait-online-link.c
index 268ab676c9..e091b20ed9 100644
--- a/src/network/networkd-wait-online-link.c
+++ b/src/network/networkd-wait-online-link.c
@@ -134,12 +134,3 @@ int link_update_monitor(Link *l) {
return 0;
}
-
-bool link_relevant(Link *l) {
- assert(l);
-
- if (l->flags & IFF_LOOPBACK)
- return false;
-
- return true;
-}