]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-radv: allow to modify RA header elements without stopping sd-radv
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 15 Apr 2024 02:57:07 +0000 (11:57 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Apr 2024 02:44:59 +0000 (11:44 +0900)
commit03401969d48dcc51ede605c79ec0f9e6bcc8e4c1
treebb4da41ba9f6ea40422b5cb9532eddb8998da2a5
parent2ca6bd9b77c8079995537d8376af411750f474a5
sd-radv: allow to modify RA header elements without stopping sd-radv

This also makes too large retransmit time handled gracefully,
as even if a too large value is specified, usec_to_be32_msec() in
radv_send_router() will handle it gracefully anyway.
Note, networkd still refuses such invalid values. Hence, this does not
change any effective behavior.
src/libsystemd-network/sd-radv.c
src/libsystemd-network/test-ndisc-ra.c
src/systemd/sd-radv.h