]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-ndisc-router: introduce sd_ndisc_router_get_sender_mac()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 29 Feb 2024 03:45:51 +0000 (12:45 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 13 Mar 2024 03:32:52 +0000 (12:32 +0900)
commitb43c2221f6df23770ff1b53679a330c39025afa9
tree37030808be87c1be912ac1e0824ab56a62b21220
parent0216c672691168bbafb6ddd21af2f48c0e3520de
sd-ndisc-router: introduce sd_ndisc_router_get_sender_mac()

The Router Advertisement option can take the MAC address of the sender.
Let's introduce a function to get it from the parsed options.
src/libsystemd-network/sd-ndisc-router.c
src/systemd/sd-ndisc-router.h