]> git.ipfire.org Git - thirdparty/systemd.git/commit
network/route: fix reachability check when peer address is specified
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 10 Dec 2023 04:56:46 +0000 (13:56 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 10 Dec 2023 05:01:33 +0000 (14:01 +0900)
commite091ed405353624f2da28e2f3210e205f7eab370
tree079c52e81217bd806c0cb87db52896e8acf06028
parent7ba8260c46b3da04b56be15528deb25dc9cea877
network/route: fix reachability check when peer address is specified

When an address with peer address is specified, the kernel by default
adds the prefix route for the peer address. When ManageForeignRoute=no
is set, then we also needs to check the prefix for the peer address.

Fixes #30403.
src/network/networkd-route-util.c