mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 17:40:04 +00:00
Merge pull request #5941 from patrasar/217793
pimd: Don't refresh mroute_creation for kernel-installed mroute
This commit is contained in:
commit
b4b58058c2
@ -1017,8 +1017,10 @@ static int pim_mroute_add(struct channel_oil *c_oil, const char *name)
|
||||
pim_channel_oil_dump(c_oil, buf, sizeof(buf)));
|
||||
}
|
||||
|
||||
c_oil->installed = 1;
|
||||
c_oil->mroute_creation = pim_time_monotonic_sec();
|
||||
if (!c_oil->installed) {
|
||||
c_oil->installed = 1;
|
||||
c_oil->mroute_creation = pim_time_monotonic_sec();
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user