diff options
author | Tom Gundersen <teg@jklm.no> | 2015-01-29 07:34:34 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-01-31 15:26:08 +0100 |
commit | 79b1f37d95f08fe7620b071eec51d2810ed077c9 (patch) | |
tree | a80e71691b9b8dd57639c5d5351a41a154dec1c7 /src/network/networkd-wait-online-link.c | |
parent | sd-rtnl: don't fail event handler when callback fails (diff) | |
download | systemd-79b1f37d95f08fe7620b071eec51d2810ed077c9.tar.xz systemd-79b1f37d95f08fe7620b071eec51d2810ed077c9.zip |
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.c | 9 |
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; -} |