diff options
author | Jan Moskyto Matejka <mq@ucw.cz> | 2017-05-16 14:31:16 +0200 |
---|---|---|
committer | Jan Moskyto Matejka <mq@ucw.cz> | 2017-05-16 15:34:57 +0200 |
commit | 05d47bd53e71480f1b276bd895f1c25088201e48 (patch) | |
tree | 6d9c8169ed695d17c90972ae6dd163c45a3d82b1 /nest/a-set_test.c | |
parent | b880e3ffaea12c3231975157bc51b5f90a2f2433 (diff) |
Linpool: default allocation size
Diffstat (limited to 'nest/a-set_test.c')
-rw-r--r-- | nest/a-set_test.c | 4 |
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); |