summaryrefslogtreecommitdiff
path: root/nest/a-set_test.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-17 14:50:00 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2017-05-17 14:50:00 +0200
commitd19617f06b4526bccc2fc5e5e15c43c754b99a4d (patch)
treecf74bc8e3c56a5d755028c57b02c2baf0c5f0c94 /nest/a-set_test.c
parent144c10fad1ed6a2520abd1c43501ce00ea2699db (diff)
parent31874783c44dd59c355921908016f9b42d22ef02 (diff)
Merge remote-tracking branch 'origin/int-new' into int-new
Diffstat (limited to 'nest/a-set_test.c')
-rw-r--r--nest/a-set_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/a-set_test.c b/nest/a-set_test.c
index f4588d65..a5081f9f 100644
--- a/nest/a-set_test.c
+++ b/nest/a-set_test.c
@@ -38,7 +38,7 @@ generate_set_sequence(enum set_type type)
{
struct adata empty_as_path = {};
set_sequence = set_sequence_same = set_sequence_higher = set_random = &empty_as_path;
- lp = lp_new(&root_pool, 0);
+ lp = lp_new_default(&root_pool);
int i;
for (i = 0; i < SET_SIZE; i++)
@@ -205,7 +205,7 @@ t_set_ec_format(void)
struct adata empty_as_path = {};
set_sequence = set_sequence_same = set_sequence_higher = set_random = &empty_as_path;
- lp = lp_new(&root_pool, 0);
+ lp = lp_new_default(&root_pool);
u64 i = 0;
set_sequence = ec_set_add(lp, set_sequence, i);