mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-24 19:59:34 +00:00
Merge pull request #4081 from donaldsharp/rnh_reorder
zebra: Make rnh only send response once on first registration
This commit is contained in:
commit
f765a2ff8e
@ -1107,11 +1107,12 @@ static void zread_rnh_register(ZAPI_HANDLER_ARGS)
|
||||
if (orig_flags != rnh->flags)
|
||||
flag_changed = true;
|
||||
|
||||
zebra_add_rnh_client(rnh, client, type, zvrf_id(zvrf));
|
||||
/* Anything not AF_INET/INET6 has been filtered out above */
|
||||
if (!exist || flag_changed)
|
||||
zebra_evaluate_rnh(zvrf, family2afi(p.family), 1, type,
|
||||
&p);
|
||||
|
||||
zebra_add_rnh_client(rnh, client, type, zvrf_id(zvrf));
|
||||
}
|
||||
|
||||
stream_failure:
|
||||
|
Loading…
Reference in New Issue
Block a user