From: Michael Tremer Date: Thu, 4 Dec 2025 16:06:00 +0000 (+0000) Subject: graphs: suricata: Draw the area outlines correctly X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8abcaa06ca6c8b11dafe871e4e62b70e350a7b3;p=telemetry.git graphs: suricata: Draw the area outlines correctly Signed-off-by: Michael Tremer --- diff --git a/src/daemon/graphs/legacy-suricata.c b/src/daemon/graphs/legacy-suricata.c index 6f69c50..6506667 100644 --- a/src/daemon/graphs/legacy-suricata.c +++ b/src/daemon/graphs/legacy-suricata.c @@ -78,11 +78,11 @@ static int legacy_suricata_render(td_ctx* ctx, td_graph* graph, PRINT_CAMM(args, "bps", "WHITELISTED", BPS); DRAW_AREA_OUTLINE_WITH_LABEL(args, "bps", "BYPASSED", COLOR_BYPASSED, - 0, _("Offloaded")); + STACKED, _("Offloaded")); PRINT_CAMM(args, "bps", "BYPASSED", BPS); DRAW_AREA_OUTLINE_WITH_LABEL(args, "bps", "SCANNED", COLOR_SCANNED, - 0, _("Scanned")); + STACKED, _("Scanned")); PRINT_CAMM(args, "bps", "SCANNED", BPS); PRINT_EMPTY_LINE(args);