[peerindex/peerindex.c] Fix MRT record allocator initialization
This commit is contained in:
parent
42ff863599
commit
11a1247a94
|
@ -175,7 +175,8 @@ static void Peerindex_ApplyProgramOptions(void)
|
||||||
|
|
||||||
static void Peerindex_Init(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)
|
static const StmOps *Peerindex_OpenMrtDump(const char *filename, void **phn)
|
||||||
|
|
Loading…
Reference in New Issue