summaryrefslogtreecommitdiff
path: root/pceplib/test/pcep_session_logic_loop_test.c
diff options
context:
space:
mode:
authorTrey Aspelund <taspelund@nvidia.com>2021-04-13 03:42:11 +0000
committerTrey Aspelund <taspelund@nvidia.com>2021-04-20 14:00:20 +0000
commita2b19693f72778d6a70db804e5fd1e7cca80b1af (patch)
tree240e889c615c0ddd2d3002d5ae0c9db9f870344a /pceplib/test/pcep_session_logic_loop_test.c
parent9c95ede7060c1e16a211c07d43ff14f0627b4c75 (diff)
bgpd: Fix IP-VRF ext-comm check for MACIP routes
When validating a MACIP route's IP address, bgp_evpn_route_add_l3_ecomm_ok checked for a non link-local v6 address without checking if the v6 address existed. Since empty v6 addresses do not fall into the fe80 range, MAC-Only routes were always passing this check and getting IP-VRF extended communities (RMAC/IP-VRF RT) added to the routes. This commit requires ipaddr_v6 to exist AND fall outside of the link-local range for IP-VRF ext-comms to be added. Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
Diffstat (limited to 'pceplib/test/pcep_session_logic_loop_test.c')
0 files changed, 0 insertions, 0 deletions