From bb10c4e602043e87b079b63b8b888cea0b0ec61d Mon Sep 17 00:00:00 2001 From: Georgy Kirichenko Date: Sun, 24 Dec 2023 22:15:11 +0300 Subject: [PATCH] Do not reference not existent object Relates #169 --- libfwparser/fw_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfwparser/fw_config.cpp b/libfwparser/fw_config.cpp index cd6e7300..b8568b04 100644 --- a/libfwparser/fw_config.cpp +++ b/libfwparser/fw_config.cpp @@ -19,7 +19,7 @@ using namespace ipfw; fw_config_t::fw_config_t(int step) { // use limits like in FreeBSD kernel - const auto& value = std::clamp(step, 1, 1000); + const auto value = std::clamp(step, 1, 1000); m_debug = 0; m_ruleid_last = 0;