summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/bgp/attrs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c
index e3173eb7..5ed89da2 100644
--- a/proto/bgp/attrs.c
+++ b/proto/bgp/attrs.c
@@ -1518,7 +1518,7 @@ bgp_get_bucket(struct bgp_channel *c, ea_list *new)
}
/* Create the bucket */
- b = mb_alloc(c->pool, size);
+ b = mb_allocz(c->pool, size);
init_list(&b->prefixes);
b->hash = hash;