Skip to content

Commit

Permalink
Merge pull request #1190 from amnezia-vpn/chore/win-routes-logger
Browse files Browse the repository at this point in the history
chore/displaying route addresses when adding to split tunneling fails
  • Loading branch information
pokamest authored Oct 24, 2024
2 parents 92bc1a6 + 5358aae commit 823c1b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/platforms/windows/daemon/wireguardutilswindows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ bool WireguardUtilsWindows::updateRoutePrefix(const IPAddress& prefix) {
}
if (result != NO_ERROR) {
logger.error() << "Failed to create route to"
<< logger.sensitive(prefix.toString())
<< prefix.toString()
<< "result:" << result;
}
return result == NO_ERROR;
Expand All @@ -265,7 +265,7 @@ bool WireguardUtilsWindows::deleteRoutePrefix(const IPAddress& prefix) {
}
if (result != NO_ERROR) {
logger.error() << "Failed to delete route to"
<< logger.sensitive(prefix.toString())
<< prefix.toString()
<< "result:" << result;
}
return result == NO_ERROR;
Expand Down

0 comments on commit 823c1b5

Please sign in to comment.