]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: Replace existing objects instead of doing nothing if they exist 34224/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 1 Aug 2024 12:38:05 +0000 (14:38 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 2 Sep 2024 05:12:49 +0000 (14:12 +0900)
commit21d9eeb5e6177544b32a5e25c355373573a3ccee
tree3e9e88f75cba0e48d4bc2a2e741d1f7a732e0b89
parent304e2419c79778bf8811fbb5ec672a8c1197dbb3
networkd: Replace existing objects instead of doing nothing if they exist

Currently, if for example a traffic control object already exist, networkd
will silently do nothing, even if the settings in the network file for the
traffic control object have changed. Let's instead replace the object if it
already exists so that new settings from the network file are applied as
expected.

Fixes #31226
src/libsystemd/sd-netlink/netlink-message-rtnl.c
test/test-network/systemd-networkd-tests.py