mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 20:34:33 +00:00
Merge pull request #3761 from patrasar/fix_refresh_oil_timer
pimd: Don't refersh the oif_creation timer if S,G already present
This commit is contained in:
commit
e6ee7eb9e3
@ -392,8 +392,10 @@ int pim_channel_add_oif(struct channel_oil *channel_oil, struct interface *oif,
|
|||||||
if (channel_oil->oif_flags[pim_ifp->mroute_vif_index]
|
if (channel_oil->oif_flags[pim_ifp->mroute_vif_index]
|
||||||
& PIM_OIF_FLAG_PROTO_ANY) {
|
& PIM_OIF_FLAG_PROTO_ANY) {
|
||||||
|
|
||||||
channel_oil->oif_creation[pim_ifp->mroute_vif_index] =
|
/* Updating time here is not required as this time has to
|
||||||
pim_time_monotonic_sec();
|
* indicate when the interface is added
|
||||||
|
*/
|
||||||
|
|
||||||
channel_oil->oif_flags[pim_ifp->mroute_vif_index] |= proto_mask;
|
channel_oil->oif_flags[pim_ifp->mroute_vif_index] |= proto_mask;
|
||||||
/* Check the OIF really exists before returning, and only log
|
/* Check the OIF really exists before returning, and only log
|
||||||
warning otherwise */
|
warning otherwise */
|
||||||
|
Loading…
Reference in New Issue
Block a user