mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 07:03:07 +00:00
Merge pull request #16591 from FRRouting/mergify/bp/stable/10.1/pr-16585
bgpd: fix memory type for static->prd_pretty (backport #16585)
This commit is contained in:
commit
1568dc362c
@ -7165,7 +7165,7 @@ int bgp_static_set(struct vty *vty, bool negate, const char *ip_str,
|
|||||||
bgp_static->prd = prd;
|
bgp_static->prd = prd;
|
||||||
|
|
||||||
if (rd_str)
|
if (rd_str)
|
||||||
bgp_static->prd_pretty = XSTRDUP(MTYPE_BGP,
|
bgp_static->prd_pretty = XSTRDUP(MTYPE_BGP_NAME,
|
||||||
rd_str);
|
rd_str);
|
||||||
|
|
||||||
if (rmap) {
|
if (rmap) {
|
||||||
|
Loading…
Reference in New Issue
Block a user