mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 03:28:31 +00:00
Merge pull request #13389 from anlancs/fix/pimd-wrong-mrt-sockopt
pimd: Fix wrong setsockopt() call
This commit is contained in:
commit
cdfc536f76
@ -46,7 +46,7 @@ int pim_mroute_set(struct pim_instance *pim, int enable)
|
|||||||
/*
|
/*
|
||||||
* We need to create the VRF table for the pim mroute_socket
|
* We need to create the VRF table for the pim mroute_socket
|
||||||
*/
|
*/
|
||||||
if (pim->vrf->vrf_id != VRF_DEFAULT) {
|
if (enable && pim->vrf->vrf_id != VRF_DEFAULT) {
|
||||||
frr_with_privs (&pimd_privs) {
|
frr_with_privs (&pimd_privs) {
|
||||||
|
|
||||||
data = pim->vrf->data.l.table_id;
|
data = pim->vrf->data.l.table_id;
|
||||||
|
Loading…
Reference in New Issue
Block a user