Fixes a bug in graceful restart.
This commit is contained in:
parent
9637c7c0ac
commit
4e7c974d22
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue