diff --git a/tools/peerindex/peerindex.c b/tools/peerindex/peerindex.c index a9fc334..ee2e4f4 100644 --- a/tools/peerindex/peerindex.c +++ b/tools/peerindex/peerindex.c @@ -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)