mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-05 21:48:46 +00:00
Merge pull request #7268 from ton31337/fix/dead_name_bgpd
bgpd: Use default VRF name if using `router bgp` command
This commit is contained in:
commit
9f3f7d9a70
@ -1227,7 +1227,7 @@ DEFUN_YANG_NOSH(router_bgp,
|
||||
UNSET_FLAG(bgp->vrf_flags, BGP_VRF_AUTO);
|
||||
|
||||
snprintf(base_xpath, sizeof(base_xpath), FRR_BGP_GLOBAL_XPATH,
|
||||
"frr-bgp:bgp", "bgp", name ? name : VRF_DEFAULT_NAME);
|
||||
"frr-bgp:bgp", "bgp", VRF_DEFAULT_NAME);
|
||||
|
||||
nb_cli_enqueue_change(vty, ".", NB_OP_CREATE, NULL);
|
||||
snprintf(as_str, 12, "%d", bgp->as);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user