]> git.ipfire.org Git - thirdparty/systemd.git/commit
network/routing-policy-rule: use address family of existing rule when judging if...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 21 Aug 2024 19:11:52 +0000 (04:11 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 21 Aug 2024 19:11:52 +0000 (04:11 +0900)
commit04d10fdb1dd18b946ad26aaa5580bbf25c2561de
tree42d4855bc59c5c4c8565b7c34ec516d7e1b86074
parenta3e4dc67629cb5886e880468cefef4c47690432e
network/routing-policy-rule: use address family of existing rule when judging if existing rule can be updated

Otherwise, the other RoutingPolicyRule object may not have a valid
address family yet, and the existing rule may be wrongly handled as
that it is not requested by any interface, and it may be removed.

Follow-up for 727235006a7e8904f8493d32376cffa6969c5fa9.
Fixes #34068.
src/network/networkd-routing-policy-rule.c