mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 10:38:05 +00:00
pimd: Track upstream state a bit better.
Track the upstream state if we are adding a new state to a pre-existing upstream. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
88d6652ede
commit
16b7259142
@ -569,6 +569,7 @@ struct pim_upstream *pim_upstream_add(struct prefix_sg *sg,
|
||||
up = pim_upstream_find(sg);
|
||||
if (up) {
|
||||
++up->ref_count;
|
||||
up->flags |= flags;
|
||||
}
|
||||
else {
|
||||
up = pim_upstream_new(sg, incoming, flags);
|
||||
|
Loading…
Reference in New Issue
Block a user