]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
IPv6: Only advertise addresses when needed
authorRoy Marples <roy@marples.name>
Wed, 11 Sep 2024 09:28:58 +0000 (10:28 +0100)
committerRoy Marples <roy@marples.name>
Wed, 11 Sep 2024 09:33:40 +0000 (10:33 +0100)
commitd0fef9f768aaa9266180571064010ff04293634e
tree201bdd594157b797baf899f452920fec607a6096
parent4f9648737c272018ad874308f9c61da2361cbd66
IPv6: Only advertise addresses when needed

Remember when we have advertised an address.
If we want to advertise it again, check this first.
If we still want to advertise it, clear this flag for all other
matching addresses.
Clear advertised flags from all addresses on carrier up.

This reduces needless NA spam from dhcpcd when the IPv6 Router
is needlessly chatty with RA.
src/ipv6.c
src/ipv6.h
src/ipv6nd.c