]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/network/networkd-link.c
networkd: don't remove route 10597/head
authorTobias Jungel <tobias.jungel@bisdn.de>
Tue, 6 Nov 2018 12:28:12 +0000 (13:28 +0100)
committerTobias Jungel <tobias.jungel@bisdn.de>
Tue, 6 Nov 2018 12:28:12 +0000 (13:28 +0100)
commit7ecf0c3e1795c08f3089752d7224fe097be4ea8e
tree15071333f7cdbe9e8fce59602b26108835e832b1
parent30226d2718d9c3209ff779465ab62c3fb05b3f22
networkd: don't remove route

In case networkd is restarted this prevents a removal of an already existing
route that would be configured using networkd. With the proposed changes the
route 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-link.c
src/network/networkd-route.c
src/network/networkd-route.h