router: Modify relayed RA PIO P flag according to interface policy master
authorPaul Donald <newtwen+github@gmail.com>
Sat, 8 Nov 2025 17:43:35 +0000 (18:43 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Wed, 10 Dec 2025 17:42:00 +0000 (18:42 +0100)
commitb84553e496a3e210c026a4fb6bf6f4576b72e937
treeccbb47bf53a6ef79174c4f7a83298133f922d9e3
parentda3e2a9829cc252a12ab14ac57cf813959489fd6
router: Modify relayed RA PIO P flag according to interface policy

Effectively:
-inherit the P flag from upstream, but retain the possibility to disable
its availability downstream, if any of the following are disabled:

-DHCPv6
-DHCPv6-PD
-DHCPv6-PD Preferred

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Link: https://github.com/openwrt/odhcpd/pull/317
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
src/router.c