summaryrefslogtreecommitdiff
path: root/proto/bgp/attrs.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2018-12-15 14:01:57 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-12-16 15:43:58 +0100
commitcb311b441a6bbc02e88cd4a92e19044e2e95aac2 (patch)
tree773e6a72accef3540bd06fdba8ea0c9f7ae118e2 /proto/bgp/attrs.c
parent3a2a3c7325b34923c4ecc465700708dd13e6ad73 (diff)
BGP: Better handling of non-matching AFI in nexthops
Diffstat (limited to 'proto/bgp/attrs.c')
-rw-r--r--proto/bgp/attrs.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index 868caca5..cbb22038 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -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))
{