summaryrefslogtreecommitdiff
path: root/pceplib/pcep_utils_counters.h
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2023-01-19 14:19:51 +0800
committeranlan_cs <vic.lan@pica8.com>2023-01-20 09:47:46 +0800
commitf1e57bb93fb128db553b5400d747f8a5f08357ad (patch)
tree34a41174d48054f930f8dfc9e047bdebd743b1c6 /pceplib/pcep_utils_counters.h
parent5f07ec5479086c59d1b85310538738164911fcfd (diff)
zebra: fix wrong conversion for evpn advertising
The two commands ( `advertise-svi-ip` and `advertise-default-gw` ) can be set in both `BGP_EVPN_NODE` and `BGP_EVPN_VNI_NODE`. So, when configuring one of them, need to consider the configuration of the other. Configuring it under `BGP_EVPN_NODE`, it does check the other. However, the conversion is wrong when configured under `BGP_EVPN_VNI_NODE`. One example: With the following steps, the evpn routes with `SVI` will be mistakenly withdrawn. ``` anlan(config-router-af)# advertise-svi-ip anlan(config-router-af)# vni 100 anlan(config-router-af-vni)# advertise-svi-ip anlan(config-router-af-vni)# no advertise-svi-ip ``` This commit fixed the conversion under `BGP_EVPN_VNI_NODE` for the two commands. Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'pceplib/pcep_utils_counters.h')
0 files changed, 0 insertions, 0 deletions