mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 15:47:22 +00:00
zebra: If we copy re than the state has changed
After we have evaluated the rnh for an import-check type and we copy the re then we know that the state has changed and we should be notifying the end user about it. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
a1494c250c
commit
9cb8322ed9
@ -495,6 +495,7 @@ static void zebra_rnh_eval_import_check_entry(struct zebra_vrf *zvrf, afi_t afi,
|
||||
|
||||
if (compare_state(re, rnh->state)) {
|
||||
copy_state(rnh, re, nrn);
|
||||
state_changed = 1;
|
||||
}
|
||||
|
||||
if (state_changed || force) {
|
||||
|
Loading…
Reference in New Issue
Block a user