mirror of
https://github.com/systemd/systemd.git
synced 2025-03-24 14:50:17 +03:00
network: always drop configs when corresponding network file does not exist
Follow-up for 93b4dab57e2e13bd804cbee999241be65a443e2e. Fixes #11724.
This commit is contained in:
parent
4bb91a950a
commit
25e992ba23
@ -3565,7 +3565,7 @@ static int link_carrier_lost(Link *link) {
|
||||
|
||||
assert(link);
|
||||
|
||||
if (link->network->ignore_carrier_loss)
|
||||
if (link->network && link->network->ignore_carrier_loss)
|
||||
return 0;
|
||||
|
||||
/* Some devices reset itself while setting the MTU. This causes the DHCP client fall into a loop.
|
||||
|
Loading…
x
Reference in New Issue
Block a user