]> git.ozlabs.org Git - ppp.git/commit
dhcpv6relay plugin: Add support for RS and RA
authorJaco Kroon <jaco@uls.co.za>
Wed, 7 May 2025 21:33:57 +0000 (23:33 +0200)
committerJaco Kroon <jaco@uls.co.za>
Wed, 7 May 2025 21:36:19 +0000 (23:36 +0200)
commite648da58d1914365a3c71bece1827126794d289c
treeb28a4a6e02d63806b12690a4ccbc922e8349622b
parent7a4c2d6f352b52980bab48131f7ddeda42661d56
dhcpv6relay plugin: Add support for RS and RA

We will now listed for RS (Router Solicitation) messages, and respond by
sending a RA (Router Advertisement) stating that managed mode needs to
be used both for address as well as supplementary (eg DNS)
configurations.

Also added an option to send RAs at pre-defined intervals.  First
instance is sent 1 second after IPv6CP comes up, and then thereafter at
the relevant configured interval.

Signed-off-by: Jaco Kroon <jaco@uls.co.za>
pppd/plugins/dhcpv6relay/dhcpv6relay.c