summaryrefslogtreecommitdiff
path: root/proto/bgp
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2017-05-16 14:31:16 +0200
committerJan Moskyto Matejka <mq@ucw.cz>2017-05-16 15:34:57 +0200
commit05d47bd53e71480f1b276bd895f1c25088201e48 (patch)
tree6d9c8169ed695d17c90972ae6dd163c45a3d82b1 /proto/bgp
parentb880e3ffaea12c3231975157bc51b5f90a2f2433 (diff)
Linpool: default allocation size
Diffstat (limited to 'proto/bgp')
-rw-r--r--proto/bgp/bgp.c4
1 files changed, 2 insertions, 2 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;