mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-10 18:16:22 +00:00
Merge pull request #13347 from donaldsharp/bgp_before_light
This commit is contained in:
commit
c53ab57b79
@ -4305,7 +4305,7 @@ DEFPY (bgp_evpn_advertise_pip_ip_mac,
|
||||
struct bgp *bgp_vrf = VTY_GET_CONTEXT(bgp); /* bgp vrf instance */
|
||||
struct bgp *bgp_evpn = NULL;
|
||||
|
||||
if (EVPN_ENABLED(bgp_vrf)) {
|
||||
if (!bgp_vrf || EVPN_ENABLED(bgp_vrf)) {
|
||||
vty_out(vty,
|
||||
"This command is supported under L3VNI BGP EVPN VRF\n");
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
|
@ -1627,6 +1627,7 @@ static uint8_t *mplsL3vpnRteTable(struct variable *v, oid name[],
|
||||
}
|
||||
} else
|
||||
return SNMP_INTEGER(MPLSL3VPNVRFRTECIDRTYPEOTHER);
|
||||
break;
|
||||
case MPLSL3VPNVRFRTEINETCIDRPROTO:
|
||||
switch (pi->type) {
|
||||
case ZEBRA_ROUTE_CONNECT:
|
||||
|
@ -7038,8 +7038,8 @@ int bgp_static_set_safi(afi_t afi, safi_t safi, struct vty *vty,
|
||||
bgp_static->label = label;
|
||||
bgp_static->prd = prd;
|
||||
|
||||
if (rd_str)
|
||||
bgp_static->prd_pretty = XSTRDUP(MTYPE_BGP, rd_str);
|
||||
bgp_static->prd_pretty = XSTRDUP(MTYPE_BGP, rd_str);
|
||||
|
||||
if (rmap_str) {
|
||||
XFREE(MTYPE_ROUTE_MAP_NAME, bgp_static->rmap.name);
|
||||
route_map_counter_decrement(bgp_static->rmap.map);
|
||||
|
Loading…
Reference in New Issue
Block a user