summaryrefslogtreecommitdiff
path: root/proto/static
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-04-04 22:34:14 +0200
committerMaria Matejka <mq@ucw.cz>2022-04-06 18:14:08 +0200
commit7e86ff2076f3046c6dcca53e7756f112362aeee9 (patch)
tree0ae2e3ff87f37704af0c244e14fa116d1df238e7 /proto/static
parentdabd7bccb3b9e2b7482cf4ae7619a67559f3ac94 (diff)
All linpools use pages to allocate regular blocks
Diffstat (limited to 'proto/static')
-rw-r--r--proto/static/static.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/static/static.c b/proto/static/static.c
index cf2e4585..cd31afd3 100644
--- a/proto/static/static.c
+++ b/proto/static/static.c
@@ -486,7 +486,7 @@ static_start(struct proto *P)
struct static_route *r;
if (!static_lp)
- static_lp = lp_new(&root_pool, LP_GOOD_SIZE(1024));
+ static_lp = lp_new(&root_pool);
if (p->igp_table_ip4)
rt_lock_table(p->igp_table_ip4);