summaryrefslogtreecommitdiff
path: root/pathd/path_errors.c
diff options
context:
space:
mode:
authorMartin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>2025-02-21 08:54:49 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2025-02-24 18:57:31 +0000
commitd2e92ea75af542f8504decac7baf231992170d77 (patch)
treeac02d93c6620598b1d355c6619f030075162d0fc /pathd/path_errors.c
parent24dbcbb31ee5edd79c0ed309e728d6758b8b0e76 (diff)
pimd: Fix PIM VRF support (send register/register stop in VRF)
In 946195391406269003275850e1a4d550ea8db38b and 8ebcc02328c6b63ecf85e44fdfbf3365be27c127, transmission of PIM register and register stop messages was changed to use a separate socket. However, that socket is not bound to a possible VRF, so the messages were sent in the default VRF instead. Call vrf_bind() once after socket creation and when the VRF is ready to ensure transmission in the correct VRF. vrf_bind() handles the non-VRF case (i.e. VRF_DEFAULT) automatically, so it may be called unconditionally. Signed-off-by: Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org> (cherry picked from commit 5a01011e0d2db538a8ba523904bd4f08b786edfb)
Diffstat (limited to 'pathd/path_errors.c')
0 files changed, 0 insertions, 0 deletions