diff options
author | Maria Matejka <mq@ucw.cz> | 2022-05-30 15:32:11 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-05-30 15:32:11 +0200 |
commit | 81aeccbb00bdc457c53bb8ab96715537513f7b2c (patch) | |
tree | bf35a54afc7d7df4b5a7fa0be022d4c540fd6c6e /proto/ospf | |
parent | d7b077f5d63625beaca1bcfe971e3b853dbfcc06 (diff) | |
parent | d39ef961d1dde230c55fcc931b53f44cb34a1e63 (diff) |
Merge commit 'd39ef961d1dde230c55fcc931b53f44cb34a1e63' into haugesund
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/ospf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index d651d48d..ab77de02 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -299,7 +299,7 @@ ospf_start(struct proto *P) p->lsab_size = 256; p->lsab_used = 0; p->lsab = mb_alloc(P->pool, p->lsab_size); - p->nhpool = lp_new(P->pool, 12*sizeof(struct nexthop)); + p->nhpool = lp_new(P->pool); init_list(&(p->iface_list)); init_list(&(p->area_list)); fib_init(&p->rtf, P->pool, ospf_get_af(p), sizeof(ort), OFFSETOF(ort, fn), 0, NULL); |