[peerindex/peerindex.c] Fix MRT record allocator initialization

This commit is contained in:
Lorenzo Cogotti 2021-07-27 16:45:53 +02:00
parent 42ff863599
commit 11a1247a94
1 changed files with 2 additions and 1 deletions

View File

@ -175,7 +175,8 @@ static void Peerindex_ApplyProgramOptions(void)
static void Peerindex_Init(void)
{
S.rec.allocp = S.rec.allocp = &bgp_msgBuf;
S.rec.allocp = &bgp_msgBuf;
S.rec.memOps = Mem_BgpBufOps;
}
static const StmOps *Peerindex_OpenMrtDump(const char *filename, void **phn)