diff options
| author | Odd Stranne <odd@mullvad.net> | 2018-05-25 11:27:11 +0200 |
|---|---|---|
| committer | Odd Stranne <odd@mullvad.net> | 2018-05-25 11:27:11 +0200 |
| commit | dea2979ad7c4ead464c8fb86881c2ec98553dbe5 (patch) | |
| tree | bd047aa999a13bc16c930d7db6e25e84637a7fb7 /windows | |
| parent | 45f1583c5b56a7bc3091a6b08b97b94232fc68fd (diff) | |
| download | mullvadvpn-dea2979ad7c4ead464c8fb86881c2ec98553dbe5.tar.xz mullvadvpn-dea2979ad7c4ead464c8fb86881c2ec98553dbe5.zip | |
Correct logic inside WinFw_Reset()
Diffstat (limited to 'windows')
| -rw-r--r-- | windows/winfw/src/winfw/winfw.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/windows/winfw/src/winfw/winfw.cpp b/windows/winfw/src/winfw/winfw.cpp index c7e171a664..8071669b7d 100644 --- a/windows/winfw/src/winfw/winfw.cpp +++ b/windows/winfw/src/winfw/winfw.cpp @@ -182,10 +182,10 @@ WinFw_Reset() if (nullptr == g_fwContext) { // - // This is an error. - // The reset instance enforces the block-all rule. + // This is OK because the practical difference between having no instance + // and having a reset instance is negligible. // - return false; + return true; } try |
