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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 5 Jul 2024 18:00:04 +0000 (20:00 +0200)
commit4fda6e8f34bca7b8611c3f76d5326866fa3c22ee
treef441f3acaf02d1865c7191acc3c5621da354bec6
parent34bef8dfacb486a47866a973822f920a9aa05db2
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.

(cherry picked from commit fd436c8d67e75eebd0ef9499f699524e4cbe2a92)
src/network/networkd-ndisc.c