summaryrefslogtreecommitdiff
path: root/proto
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 /proto
parent144c10fad1ed6a2520abd1c43501ce00ea2699db (diff)
parent31874783c44dd59c355921908016f9b42d22ef02 (diff)
Merge remote-tracking branch 'origin/int-new' into int-new
Diffstat (limited to 'proto')
-rw-r--r--proto/bgp/bgp.c4
-rw-r--r--proto/static/static.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index b9a1d157..cccced57 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -185,8 +185,8 @@ bgp_open(struct bgp_proto *p)
if (!bgp_linpool)
{
- bgp_linpool = lp_new(proto_pool, 4080);
- bgp_linpool2 = lp_new(proto_pool, 4080);
+ bgp_linpool = lp_new_default(proto_pool);
+ bgp_linpool2 = lp_new_default(proto_pool);
}
return 0;
diff --git a/proto/static/static.c b/proto/static/static.c
index f74ecee0..bb1501a5 100644
--- a/proto/static/static.c
+++ b/proto/static/static.c
@@ -410,7 +410,7 @@ static_start(struct proto *P)
struct static_route *r;
if (!static_lp)
- static_lp = lp_new(&root_pool, 1008);
+ static_lp = lp_new(&root_pool, LP_GOOD_SIZE(1024));
if (p->igp_table_ip4)
rt_lock_table(p->igp_table_ip4);