]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: fix handling of routing policy rule fwmask
authorBeniamino Galvani <b.galvani@gmail.com>
Tue, 15 Apr 2025 20:13:11 +0000 (22:13 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 17 Apr 2025 00:18:54 +0000 (09:18 +0900)
commitec65c29e5144bb31abeabed39481c1d149d558ea
tree869bf85d2f20619f016f8c991eb8969749cbce5b
parent49ff90c70debc59f5a52e5cec5a92507d9868b9d
network: fix handling of routing policy rule fwmask

The firewall mask should be applied even if the mark is 0, to allow defining a
value of e.g. 0/255.

Fixes #36973
man/systemd.network.xml
src/network/networkd-routing-policy-rule.c
test/test-network/conf/25-routing-policy-rule-test1.network
test/test-network/systemd-networkd-tests.py