Skip to content

Commit

Permalink
Merge pull request #16591 from FRRouting/mergify/bp/stable/10.1/pr-16585
Browse files Browse the repository at this point in the history
bgpd: fix memory type for static->prd_pretty (backport #16585)
  • Loading branch information
donaldsharp committed Aug 15, 2024
2 parents ed6953a + fd66383 commit 1568dc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -7165,7 +7165,7 @@ int bgp_static_set(struct vty *vty, bool negate, const char *ip_str,
bgp_static->prd = prd;

if (rd_str)
bgp_static->prd_pretty = XSTRDUP(MTYPE_BGP,
bgp_static->prd_pretty = XSTRDUP(MTYPE_BGP_NAME,
rd_str);

if (rmap) {
Expand Down

0 comments on commit 1568dc3

Please sign in to comment.