mirror of
https://codeberg.org/1414codeforge/ubgpsuite.git
synced 2025-02-17 12:10:46 +01:00
[bgp/dump_isolario.c] Respect withColors
This commit is contained in:
parent
cb3fa6e427
commit
73691101ce
@ -438,9 +438,9 @@ static void WarnCorrupted(Stmbuf *sb, const Dumpfmtctx *ctx)
|
|||||||
{
|
{
|
||||||
Bufio_Putc(sb, SEP_CHAR_BAD);
|
Bufio_Putc(sb, SEP_CHAR_BAD);
|
||||||
if (ctx->withColors)
|
if (ctx->withColors)
|
||||||
Bufio_Puts(sb, CORRUPT_WARN);
|
|
||||||
else
|
|
||||||
Bufio_Puts(sb, VTSGR(VTINV) CORRUPT_WARN VTSGR(VTNOINV));
|
Bufio_Puts(sb, VTSGR(VTINV) CORRUPT_WARN VTSGR(VTNOINV));
|
||||||
|
else
|
||||||
|
Bufio_Puts(sb, CORRUPT_WARN);
|
||||||
|
|
||||||
Bufio_Putc(sb, SEP_CHAR_BAD);
|
Bufio_Putc(sb, SEP_CHAR_BAD);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user