mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 08:49:58 +00:00
commit
86fb83c68b
@ -1407,7 +1407,8 @@ struct aspath *aspath_remove_private_asns(struct aspath *aspath, as_t peer_asn)
|
||||
last_new_seg = new_seg;
|
||||
seg = seg->next;
|
||||
}
|
||||
|
||||
if (!aspath->refcnt)
|
||||
aspath_free(aspath);
|
||||
aspath_str_update(new, false);
|
||||
return new;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user