mirror of
https://github.com/amnezia-vpn/win-split-tunnel.git
synced 2026-05-17 08:16:00 +03:00
Properly log mode of engagement
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user