]> git.puffer.fish Git - mirror/frr.git/commit
pimd, pim6d: clarify RFC5549 MRIB nexthop handling
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 10 Mar 2022 14:45:31 +0000 (15:45 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 4 Apr 2022 12:48:54 +0000 (14:48 +0200)
commitc13a82352ba035c3a70130a8ba8074fa6096c15a
tree1eb94bfffb1b0461c5be4ad449896fdae82d568e
parentab313a9e35d84e7b46587b1d698305f9f7bea60a
pimd, pim6d: clarify RFC5549 MRIB nexthop handling

The entire `case NEXTHOP_TYPE_IPV6_IFINDEX:` block here was a bit of a
tripwire to stumble over, since there was no indication at all that this
concerns RFC5549 nexthop handling.  So it got mis-adapted for PIM IPv6
support.

Clarify this a whole bunch that this is for v4-over-v6 nexthop mangling,
and nothing else.

This should really also use neighbor's secondary address lists for the
lookup, but that is probably going to break compatibility with other
boxes that don't include v6 addrs in v4 hellos and needs further
machinery to do properly, so for now just leave a breadcrumb.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
pimd/pim_nht.c