From d768b8265c51e0fa5da621bb9c141a9e07b494c5 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 12 Feb 2024 18:56:47 -0600 Subject: [PATCH] Bugfix: Firewall program if condition is setting an error flag rather than checking the value. --- level_3/firewall/c/private-firewall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/firewall/c/private-firewall.c b/level_3/firewall/c/private-firewall.c index 496688f..50f3dbe 100644 --- a/level_3/firewall/c/private-firewall.c +++ b/level_3/firewall/c/private-firewall.c @@ -619,7 +619,7 @@ f_status_t firewall_perform_commands(firewall_data_t * const data, firewall_loca status = fll_fss_basic_read(local_buffer, state, &input, &basic_objects, &basic_contents, 0, &delimits, 0); } - if (F_status_set_error(status)) { + if (F_status_is_error(status)) { status = F_status_set_fine(status); if (status == F_parameter) { -- 1.8.3.1