mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 06:50:17 +00:00
pim6d: Update last_member_query_interval and last_member_query_count
When there is update in the configuration of last_member_query_interval and last_member_query_count, call gm_ifp_update(). This will update cur_query_intv_trig and cur_lmqc of gm_ifp structure. Issue: #11901 Signed-off-by: Sarita Patra <saritap@vmware.com>
This commit is contained in:
parent
1011b31a1c
commit
deda3f27d3
@ -2844,6 +2844,9 @@ int lib_interface_gmp_address_family_last_member_query_interval_modify(
|
|||||||
yang_dnode_get_uint16(args->dnode, NULL);
|
yang_dnode_get_uint16(args->dnode, NULL);
|
||||||
pim_ifp->gm_specific_query_max_response_time_dsec =
|
pim_ifp->gm_specific_query_max_response_time_dsec =
|
||||||
last_member_query_interval;
|
last_member_query_interval;
|
||||||
|
#if PIM_IPV == 6
|
||||||
|
gm_ifp_update(ifp);
|
||||||
|
#endif
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -2872,7 +2875,9 @@ int lib_interface_gmp_address_family_robustness_variable_modify(
|
|||||||
last_member_query_count =
|
last_member_query_count =
|
||||||
yang_dnode_get_uint8(args->dnode, NULL);
|
yang_dnode_get_uint8(args->dnode, NULL);
|
||||||
pim_ifp->gm_last_member_query_count = last_member_query_count;
|
pim_ifp->gm_last_member_query_count = last_member_query_count;
|
||||||
|
#if PIM_IPV == 6
|
||||||
|
gm_ifp_update(ifp);
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user