0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

Fixes a bug in graceful restart.

This commit is contained in:
Ondrej Zajicek 2014-03-24 19:22:19 +01:00
parent 9637c7c0ac
commit 4e7c974d22

View File

@ -1201,7 +1201,7 @@ bgp_do_rx_update(struct bgp_conn *conn,
return; return;
/* Check for End-of-RIB marker */ /* Check for End-of-RIB marker */
if ((attr_len < 8) && !withdrawn_len && !attr_len && if ((attr_len < 8) && !withdrawn_len && !nlri_len && !p->mp_reach_len &&
(p->mp_unreach_len == 3) && (get_u16(p->mp_unreach_start) == BGP_AF_IPV6)) (p->mp_unreach_len == 3) && (get_u16(p->mp_unreach_start) == BGP_AF_IPV6))
{ {
bgp_rx_end_mark(p); bgp_rx_end_mark(p);