summaryrefslogtreecommitdiff
path: root/proto/bgp/packets.c
diff options
context:
space:
mode:
Diffstat (limited to 'proto/bgp/packets.c')
-rw-r--r--proto/bgp/packets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c
index 2d4da8c9..808afaa9 100644
--- a/proto/bgp/packets.c
+++ b/proto/bgp/packets.c
@@ -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);