1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

BGP: Better handling of non-matching AFI in nexthops

This commit is contained in:
Ondrej Zajicek (work)
2018-12-15 14:01:57 +01:00
parent 3a2a3c7325
commit cb311b441a
2 changed files with 10 additions and 2 deletions

View File

@@ -1386,8 +1386,6 @@ bgp_preexport(struct proto *P, rte **new, struct linpool *pool UNUSED)
if (src == NULL)
return 0;
// XXXX: Check next hop AF
/* IBGP route reflection, RFC 4456 */
if (p->is_internal && src->is_internal && (p->local_as == src->local_as))
{