mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-01 12:47:16 +00:00
Merge pull request #5060 from chiragshah6/evpn_dev2
zebra: fix evpn prefix-routes-only for default vrf
This commit is contained in:
commit
c4cb0574d4
@ -487,7 +487,11 @@ static int vrf_config_write(struct vty *vty)
|
||||
|
||||
if (zvrf_id(zvrf) == VRF_DEFAULT) {
|
||||
if (zvrf->l3vni)
|
||||
vty_out(vty, "vni %u\n", zvrf->l3vni);
|
||||
vty_out(vty, "vni %u%s\n", zvrf->l3vni,
|
||||
is_l3vni_for_prefix_routes_only(
|
||||
zvrf->l3vni)
|
||||
? " prefix-routes-only"
|
||||
: "");
|
||||
if (zvrf->zebra_rnh_ip_default_route)
|
||||
vty_out(vty, "ip nht resolve-via-default\n");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user