]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: When not fully connected to zebra gracefully ignore the issue 1366/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 26 Oct 2017 02:38:50 +0000 (22:38 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 26 Oct 2017 02:38:50 +0000 (22:38 -0400)
commitea12cf1125ef21b334c1f1703ed6224242c15bf8
tree67ac6320f0fba23354e6e8775a5489fd4815bcae
parentc539c3894472c76e0e22daabb8c57af3547a63a4
bgpd: When not fully connected to zebra gracefully ignore the issue

When bgp is coming up and is reading a non-integrated config.
The bgp connection to zebra has not fully had a chance to start.
As such when a redistribute line is parsed the attempt is
made to install it but it was erroring out with a warning.
This caused the `redistribute XXX` line to create a error
message to the end user.

Since bgp calls zclient_send_reg_requests which re-registers
the redistribute call once the actual zebra connection is up
and once bgp comes alive this is ok.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_zebra.c