network/ndisc: redirect routes do not have lifetime
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Apr 2024 05:58:31 +0000 (14:58 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 11 Apr 2024 19:59:42 +0000 (04:59 +0900)
commitef6495ebb2d06c6b15e3bff550d5376f0ddf6e73
treed4c2eace80898b70f3d05bc13cacca2c188eaf2c
parent33cab1d4ef7ff338546a39cff0c24d284c512510
network/ndisc: redirect routes do not have lifetime

Hence, ndisc_router_update_redirect() does nothing. Let's remove it.
Also, ndisc_request_route() does not set lifetime for the route, it is
not necessary to set the third argument.
src/network/networkd-ndisc.c