summaryrefslogtreecommitdiff
path: root/zebra/zebra_errors.c
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2022-01-30 19:44:35 -0500
committeranlan_cs <vic.lan@pica8.com>2022-03-09 07:22:11 +0800
commit3f04f9cf241071882cdb55fbda1888f2dfd7e3aa (patch)
tree654246ddac05f9053923dbf1bc55743ee3877dde /zebra/zebra_errors.c
parent5e5cd2784f23c5a022d1a0e3c6e9d217abc3ca71 (diff)
zebra: let /32 host route with same IP cross VRF
Contraints of host routes are too strict in current code: Host routes with same destination address and nexthop address are forbidden even when cross VRFs. Currently host routes with different destination and nexthop address can cross VRFs, it is ok. But host routes with same addresses are forbidden to cross VRFs, it is wrong. Since different VRFs can have the same addresses, leak specific host route with the same nexthop address ( it means destination address is same to nexthop address ) to other VRFs is a normal case. This commit relaxes that contraints. Host routes with same destination address and nexthop address are forbidden only when not cross VRFs. Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'zebra/zebra_errors.c')
0 files changed, 0 insertions, 0 deletions