]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
networkd: don't remove ip address
authorTobias Jungel <tobias.jungel@bisdn.de>
Wed, 31 Oct 2018 12:33:54 +0000 (13:33 +0100)
committerTobias Jungel <tobias.jungel@bisdn.de>
Tue, 6 Nov 2018 12:26:37 +0000 (13:26 +0100)
commit30226d2718d9c3209ff779465ab62c3fb05b3f22
treeef67f53cce4ce1555932cf80a775ca46e1c4c963
parent8912a99cea2c05b66ba78809eef199d04c6b862e
networkd: don't remove ip address

In case networkd is restarted this prevents a removal of an already existing IP
address that would be configured using networkd. With the proposed changes the
IP address will be kept on the interface without removing. This happens only on
physical hosts or VMs since networkd handles interface configuration slightly
different in containers.
src/network/networkd-address.c
src/network/networkd-link.c