Commit 4e7c974d authored by Ondřej Zajíček's avatar Ondřej Zajíček

Fixes a bug in graceful restart.

parent 9637c7c0
......@@ -1201,7 +1201,7 @@ bgp_do_rx_update(struct bgp_conn *conn,
return;
/* 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))
{
bgp_rx_end_mark(p);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment