summaryrefslogtreecommitdiff
path: root/filter
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 /filter
parent144c10fad1ed6a2520abd1c43501ce00ea2699db (diff)
parent31874783c44dd59c355921908016f9b42d22ef02 (diff)
Merge remote-tracking branch 'origin/int-new' into int-new
Diffstat (limited to 'filter')
-rw-r--r--filter/filter_test.c2
-rw-r--r--filter/tree_test.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/filter/filter_test.c b/filter/filter_test.c
index 82efae0b..be7fd521 100644
--- a/filter/filter_test.c
+++ b/filter/filter_test.c
@@ -43,7 +43,7 @@ run_function(const void *parsed_fn_def)
/* XXX: const -> non-const */
struct f_inst *f = (struct f_inst *) parsed_fn_def;
- linpool *tmp = lp_new(&root_pool, 4096);
+ linpool *tmp = lp_new_default(&root_pool);
struct f_val res = f_eval(f, tmp);
rfree(tmp);
diff --git a/filter/tree_test.c b/filter/tree_test.c
index e224a559..5b22a9fe 100644
--- a/filter/tree_test.c
+++ b/filter/tree_test.c
@@ -20,7 +20,7 @@ start_conf_env(void)
bt_bird_init();
pool *p = rp_new(&root_pool, "helper_pool");
- linpool *l = lp_new(p, 4080);
+ linpool *l = lp_new_default(p);
cfg_mem = l;
}