]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
networkd: drop DHCPv4 config on stop, keep on restart, by default
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 1 Oct 2019 15:12:31 +0000 (17:12 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 2 Oct 2019 12:01:42 +0000 (14:01 +0200)
commit800603524a7ab076d40450286ff7802a04289b7f
tree853ee32dc0dee6d32e92b259262d7ca0b8a9a677
parentab76be55819268968c0a987bf187db9568e09dbd
networkd: drop DHCPv4 config on stop, keep on restart, by default

This partially reverts 95355a281c06c5970b7355c38b066910c3be4958.

It seems that other parts of link_stop_clients() should be skipped
when restarting, but I don't know enough about those other clients to have
an opinion if it is better to stop&start them on restart or not.
Anyway, that can be done in later patches now that the support for restarts
is there.

Fixes #13625.
man/systemd.network.xml
src/network/networkd-link.c
src/network/networkd-network.c