1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Some minor sl_allocz() cleanups

This commit is contained in:
Ondrej Zajicek (work)
2020-11-24 03:21:44 +01:00
parent db2d29073a
commit c9ae81656f
5 changed files with 6 additions and 11 deletions

View File

@@ -1603,6 +1603,7 @@ bgp_get_prefix(struct bgp_channel *c, net_addr *net, u32 path_id)
px->buck_node.next = NULL;
px->buck_node.prev = NULL;
px->next = NULL;
px->hash = hash;
px->path_id = path_id;
net_copy(px->net, net);