From dcf1c09943399bc71dbb476eab28c49a4fa9cfbe Mon Sep 17 00:00:00 2001 From: Odd Stranne Date: Thu, 20 May 2021 10:00:22 +0200 Subject: [PATCH] Properly log mode of engagement --- src/firewall/firewall.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/firewall/firewall.cpp b/src/firewall/firewall.cpp index cb7b190..a96209b 100644 --- a/src/firewall/firewall.cpp +++ b/src/firewall/firewall.cpp @@ -6,6 +6,7 @@ #include "callouts.h" #include "constants.h" #include "asyncbind.h" +#include "logging.h" #include "../util.h" #include "../eventing/builder.h" #include "firewall.h" @@ -1261,6 +1262,8 @@ EnableSplitting Context->SplittingEnabled = true; Context->ActiveFilters = activeFilters; + LogActivatedSplittingMode(Context->IpAddresses.SplittingMode); + return STATUS_SUCCESS; Abort: @@ -1440,6 +1443,8 @@ RegisterUpdatedIpAddresses Context->ActiveFilters = newActiveFilters; + LogActivatedSplittingMode(newMode); + return STATUS_SUCCESS; Abort: