mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
zebra: notify nht client about protocol type change
The protocol type is of interest to NHT clients. Comparea the field for changes. Signed-off-by: Enke Chen <enchen@paloaltonetworks.com>
This commit is contained in:
parent
d1433ee9a8
commit
0aa2408323
|
@ -1123,6 +1123,9 @@ static bool compare_state(struct route_entry *r1,
|
|||
if ((!r1 && r2) || (r1 && !r2))
|
||||
return true;
|
||||
|
||||
if (r1->type != r2->type)
|
||||
return true;
|
||||
|
||||
if (r1->distance != r2->distance)
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue