]> git.proxmox.com Git - mirror_frr.git/commit
zebra: Do not send a router-id of 0.0.0.0 when we don't know it yet
authorDonald Sharp <sharpd@nvidia.com>
Fri, 3 Sep 2021 13:40:26 +0000 (09:40 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 7 Sep 2021 16:53:37 +0000 (12:53 -0400)
commit0114135890141e50c25d66d24e803ad4e23fc465
tree3fb19933b4c36dd59615c9d612388db7c98d67ee
parent2ca7780ab594aaa31239ce4ccde64e3d66de019e
zebra: Do not send a router-id of 0.0.0.0 when we don't know it yet

At startup there exists a time frame where we might not know
a particular vrf's router id.  When zebra gets a request for
it let's not just blindly send whatever we have.  Let's be
a bit smart and only respond with one if we have one.
The upper level protocol can wait for it to have one.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zapi_msg.c