mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 19:39:28 +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;
|
last_new_seg = new_seg;
|
||||||
seg = seg->next;
|
seg = seg->next;
|
||||||
}
|
}
|
||||||
|
if (!aspath->refcnt)
|
||||||
|
aspath_free(aspath);
|
||||||
aspath_str_update(new, false);
|
aspath_str_update(new, false);
|
||||||
return new;
|
return new;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user