]> git.puffer.fish Git - mirror/frr.git/commit
pimd: fix PtP address handling 8637/head
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 18 May 2021 11:55:48 +0000 (13:55 +0200)
committerMartin Winter <mwinter@opensourcerouting.org>
Tue, 6 Jul 2021 12:24:09 +0000 (14:24 +0200)
commita2810d30256e8de250b9e0fdc274fc4852c7877c
tree119fd4c306f8bcef2c350c1206e0584734344eb9
parent511184897b1ba45703f1a8b6503c6b4abc513482
pimd: fix PtP address handling

When we have a "192.0.2.1 peer 192.0.2.2/32" address on an interface, we
need to (a) recognize the local address as being on the link for our own
packets, and (b) do the IGMP socket lookup with the proper local address
rather than the peer prefix.

Fixes: efe6f18 ("pimd: fix IGMP receive handling")
Cc: Nathan Bahr <nbahr@atcorp.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
pimd/pim_iface.c