]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_ecommunity.c
bgpd: small simplification for evpn RT commands
authoranlan_cs <vic.lan@pica8.com>
Sat, 26 Mar 2022 04:09:27 +0000 (12:09 +0800)
committeranlan_cs <vic.lan@pica8.com>
Sun, 27 Mar 2022 05:02:05 +0000 (13:02 +0800)
commit3b7e8d0f49b995161c6ff1e4d0ada2e04acd831b
treed5741b671c52c8fce54a6678b42fc482b9eadebe
parent52093e0f0e5753b753ae1b048f69b979ed3c75f6
bgpd: small simplification for evpn RT commands

Small simplification for evpn RT commands, i.e. both per-VRF
and per-VNI - `bgp_evpn_vrf_rt_cmd` and `bgp_evpn_vni_rt_cmd`.

Just extract the duplicated code as a common code, there are
no functional changes.

Additionally correct one comment for `ecommunity_free()`.

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