]> git.ipfire.org Git - thirdparty/systemd.git/commit
network/routing-policy-rule: do not modify RountingPolicyRule objects managed by...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 19 Aug 2024 18:36:40 +0000 (03:36 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 20 Aug 2024 11:48:26 +0000 (20:48 +0900)
commitfc58350aa464cd2414b6fe9fec089412120c7d52
tree7420912e9f19227e346684654addfd959d94c6ec
parent61242b1f0f9cac399deb67c88c3b62d38218dba3
network/routing-policy-rule: do not modify RountingPolicyRule objects managed by Manager or Network

They are stored in Manager.rules set or Network.rules_by_section hashmap.
For safety, let's not edit them even temporarily.

No functional change, just refactoring.
src/network/networkd-routing-policy-rule.c