]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: don't send RAs w/o LLv6 or on bridge-ports
authorTrey Aspelund <taspelund@nvidia.com>
Thu, 31 Mar 2022 16:35:18 +0000 (16:35 +0000)
committerTrey Aspelund <taspelund@nvidia.com>
Thu, 31 Mar 2022 16:38:37 +0000 (16:38 +0000)
commit436a6a3e5126549d4482d5813ddd57b8c02215af
tree64e2566ec597f9aed3cde12dab5d29d57427b797
parentf979f3fd21894b663e489bdacf083547bdee3467
zebra: don't send RAs w/o LLv6 or on bridge-ports

It's confusing for a user to see 'Tx RA failed' in the logs when
they've enabled RAs (either through interface config or BGP unnumbered)
on an interface that can't send them.  Let's avoid sending RAs on
interfaces that are bridge_slaves or don't have a link-local address,
since they are the two of the most common reasons for RA Tx failures.

Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
zebra/rtadv.c