]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: optimize "auto_rt" searching procedure for evpn
authoranlan_cs <vic.lan@pica8.com>
Sun, 24 Apr 2022 11:49:02 +0000 (07:49 -0400)
committeranlan_cs <vic.lan@pica8.com>
Mon, 25 Apr 2022 08:36:18 +0000 (04:36 -0400)
commitd74a6cc126c02b9a28f1c644ec9920920970c289
treeae4b1fa7bebe45ee298366bf378e359e9ea6195a
parent671ec576210ebc24d88487739fb00861edd85b77
bgpd: optimize "auto_rt" searching procedure for evpn

RT value will be unique across different VNIs but the
same across routers (in the same AS) for a particula
VNI.

It is unique, so add `break` for search procedure.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
bgpd/bgp_evpn.c