summaryrefslogtreecommitdiff
path: root/proto/bgp/attrs.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-01-24 02:00:35 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-01-24 02:00:35 +0100
commitd8022d26fc64121c3416abfdb4c38fcbaf81c12e (patch)
treebd49b3cfcc9e075d2dae57f6fb95d015629bbcc0 /proto/bgp/attrs.c
parent5509e17d0c1b4e75d5911864f75ba119769e5725 (diff)
BGP: Partial support for IPv4 routes with IPv6 next hop (RFC 5549)
Mostly capability signalling
Diffstat (limited to 'proto/bgp/attrs.c')
-rw-r--r--proto/bgp/attrs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index 35aecdb0..c557403b 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -1285,6 +1285,8 @@ bgp_import_control(struct proto *P, rte **new, ea_list **attrs UNUSED, struct li
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))
{