network/ndisc: do not remove static routes when received RA with zero lifetime
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 24 Jun 2024 07:20:27 +0000 (16:20 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 24 Jun 2024 18:15:59 +0000 (03:15 +0900)
commitfd436c8d67e75eebd0ef9499f699524e4cbe2a92
tree0f874239a42c8cfdc4c5ed7b8bc8554c0a4a4e39
parent7af3e8cd0034a6eb2e614b052c94c6d0b4556e98
network/ndisc: do not remove static routes when received RA with zero lifetime

Similar to the previous commit, but for preventing from removing static
routes on receiving RA with zero lifetime.

Fixes a regresson caused by 479d3e1994a2e4ff7070dc2a0cb1615af7120b0c.
Fixes #33346.
src/network/networkd-ndisc.c