]> git.ipfire.org Git - thirdparty/systemd.git/commit
network: handle captive portal with multiple routers
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 6 Jul 2023 02:12:19 +0000 (11:12 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 6 Jul 2023 05:55:58 +0000 (14:55 +0900)
commit64de00c49fde341d09b817164fe8cc8f7da46268
tree5a7ee8bc3390e031c20c8a3eec065da4917c3d37
parent04eaf63c6665422eab47ece211cbe7ecc3695e7b
network: handle captive portal with multiple routers

Before this patch, if a network has multiple routers and one of them
provides a captive portal, then the portal was overwritten or cleared
when another RA from another router is received.

This makes captive portals managed in the similar way as DNS servers or
DNS domains. So now captive portal can safely handled even if a network
has multiple routers.
src/network/networkd-dhcp-common.c
src/network/networkd-link.c
src/network/networkd-link.h
src/network/networkd-ndisc.c
src/network/networkd-ndisc.h