diff options
| author | Nathan Bahr <nbahr@atcorp.com> | 2025-02-21 17:55:16 +0000 |
|---|---|---|
| committer | Nathan Bahr <nbahr@atcorp.com> | 2025-02-21 19:32:40 +0000 |
| commit | 7e181a771c2e525aeda6e8f6c2d58e9ee2503949 (patch) | |
| tree | df3dce2cce6da4454b140c7b8704a5c7bfde1abc /pimd/pim_instance.c | |
| parent | eb6f49ff1d25e13e319d91e48840568309449253 (diff) | |
pim: Fix vrf binding of autorp and mroute socket
Bind the autorp socket to the vrf device.
Also fixed mroute socket to use vrf_bind instead of directly
setting the socket option.
Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
Diffstat (limited to 'pimd/pim_instance.c')
| -rw-r--r-- | pimd/pim_instance.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c index 3945c5923d..358821142e 100644 --- a/pimd/pim_instance.c +++ b/pimd/pim_instance.c @@ -183,6 +183,10 @@ static int pim_vrf_enable(struct vrf *vrf) pim_mroute_socket_enable(pim); +#if PIM_IPV == 4 + pim_autorp_enable(pim); +#endif + FOR_ALL_INTERFACES (vrf, ifp) { if (!ifp->info) continue; |
