Skip to content

Commit

Permalink
Do not reference not existent object
Browse files Browse the repository at this point in the history
Relates #169
  • Loading branch information
GeorgyKirichenko authored and GeorgyKirichenko committed Apr 15, 2024
1 parent b3fea64 commit 3b8f04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libfwparser/fw_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3b8f04e

Please sign in to comment.