summaryrefslogtreecommitdiff
path: root/lib/command_graph.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-02-20 15:54:32 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-02-20 23:04:12 -0300
commit6ff96d00f19fa92d41c4c10e1947342fa3f25bc2 (patch)
treee842c7c74522df29e2dfa1c068939cd968964668 /lib/command_graph.c
parent6291837764c6bd2facbff5fbe38f33fa8b1b1d34 (diff)
bgpd: fix the add-path code to understand the mpls-vpn safi
In order to iterate over MPLS VPN routes, it's necessary to use two nested loops (the outer loop iterates over the MPLS VPN RDs, and the inner loop iterates over the VPN routes from that RD). The add-path code wasn't doing this, which was leading to lots of crashes when add-path was enabled for the MPLS VPN SAFI. This patch fixes the problem. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/command_graph.c')
0 files changed, 0 insertions, 0 deletions