mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 00:41:20 +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]
|
||||
& PIM_OIF_FLAG_PROTO_ANY) {
|
||||
|
||||
channel_oil->oif_creation[pim_ifp->mroute_vif_index] =
|
||||
pim_time_monotonic_sec();
|
||||
/* Updating time here is not required as this time has to
|
||||
* indicate when the interface is added
|
||||
*/
|
||||
|
||||
channel_oil->oif_flags[pim_ifp->mroute_vif_index] |= proto_mask;
|
||||
/* Check the OIF really exists before returning, and only log
|
||||
warning otherwise */
|
||||
|
Loading…
Reference in New Issue
Block a user