summaryrefslogtreecommitdiff
path: root/proto/bgp
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2020-11-24 03:21:44 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2020-11-24 03:21:44 +0100
commitc9ae81656f97bcc55910e80b6f00d3ee9383d848 (patch)
treeeab1d953cc77e3644fe6f5d0bdae9e088210b98d /proto/bgp
parentdb2d29073acfd4086fca18ba43a5ed6baccaa8ad (diff)
Some minor sl_allocz() cleanups
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/attrs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index 4710bfba..828bc118 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -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);