[dump_isolario] Add KEEPALIVE dump to updates

This commit is contained in:
Lorenzo Cogotti 2021-06-07 23:59:26 +02:00
parent 6c47814908
commit 3bf9ff9dc4
1 changed files with 6 additions and 0 deletions

View File

@ -666,6 +666,12 @@ static Judgement DumpBgp(Stmbuf *sb,
DumpMrtInfoTrailer(sb, ctx); DumpMrtInfoTrailer(sb, ctx);
break; break;
case BGP_KEEPALIVE:
Bufio_Putc(sb, KEEPALIVE_MARKER);
Bufio_Putsn(sb, SEPS_BUF, 8);
DumpMrtInfoTrailer(sb, ctx);
break;
case BGP_ROUTE_REFRESH: case BGP_ROUTE_REFRESH:
Bufio_Putc(sb, ROUTE_REFRESH_MARKER); Bufio_Putc(sb, ROUTE_REFRESH_MARKER);
Bufio_Putsn(sb, SEPS_BUF, 8); Bufio_Putsn(sb, SEPS_BUF, 8);