diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2014-03-24 19:22:19 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2014-03-24 19:22:19 +0100 |
commit | 4e7c974d22ee5d938d8d8e7018f0a63f609d630b (patch) | |
tree | 85d8795434d8239b3ad28093f63b802784e48887 /proto | |
parent | 9637c7c0acbc56bbf6fedc44d89f921386843992 (diff) |
Fixes a bug in graceful restart.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/bgp/packets.c | 2 |
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); |