summaryrefslogtreecommitdiff
path: root/lib/xref.c
diff options
context:
space:
mode:
authorPat Ruddy <pat@voltanet.io>2021-01-21 14:16:26 +0000
committerPat Ruddy <pat@voltanet.io>2021-01-27 13:56:45 +0000
commit4053e9520adebc6a56b8cb940e70f07cdb2d8ef0 (patch)
tree91b732dddcb512121a6fdc5439f54928383bea17 /lib/xref.c
parentff6fd1cc8a7fb8e4b3bb91e1a639a5c39a280ef1 (diff)
bgpd: make sure nh is valid for MPLS vpn routes
If we are using a nexthop for a MPLS VPN route make sure the nexthop is over a labeled path. This new check mirrors the one in validate_paths (where routes are enabled when a nexthop becomes reachable). The check is introduced to the code path where routes are added and the nexthop is looked up. Signed-off-by: Pat Ruddy <pat@voltanet.io>
Diffstat (limited to 'lib/xref.c')
0 files changed, 0 insertions, 0 deletions