]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: make resolving NetDev names delayed and moved to network_verify()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 21 Feb 2019 07:40:34 +0000 (16:40 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 26 Feb 2019 01:06:23 +0000 (10:06 +0900)
commitcebe12571d368e5028b8dbd9a2c8142473f08eee
tree37dc53211e59695ad5d76ecb59dd37ef94a89c0b
parenta6779fecd953a2720c01ee8f9ca0bacffb4d7d29
network: make resolving NetDev names delayed and moved to network_verify()

And before resolving NetDev names, check conditions in .network,
and if they do not match the system environment, drop the network
unit earlier.

Fixes #4211.
src/network/netdev/netdev.h
src/network/networkd-network-gperf.gperf
src/network/networkd-network.c
src/network/networkd-network.h