Gert Doering has uploaded a new patch set (#2) to the change originally created 
by Răzvan Cojocaru. ( https://gerrit.openvpn.net/c/openvpn/+/2120?usp=email )

The following approvals got outdated and were removed:
Code-Review+2 by Frank Lichtenheld


Change subject: tun: log the actual error in Windows tun_read_queue()
......................................................................

tun: log the actual error in Windows tun_read_queue()

The read error message passed the ReadFile() result, which is always
FALSE on that path, to strerror_win32() instead of GetLastError()'s
err, so it never showed the real error.

Change-Id: I8b9efc75656e01df9afe99c280ba8c9c82e937f0
Signed-off-by: Razvan Cojocaru <[email protected]>
Acked-by: Frank Lichtenheld <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2120
Message-Id: <[email protected]>
URL: 
https://lore.kernel.org/openvpn-devel/[email protected]
Signed-off-by: Gert Doering <[email protected]>
---
M src/openvpn/tun.c
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/20/2120/2

diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c
index 7637dc0..943ad9f 100644
--- a/src/openvpn/tun.c
+++ b/src/openvpn/tun.c
@@ -3305,7 +3305,7 @@
                 tt->reads.iostate = IOSTATE_IMMEDIATE_RETURN;
                 tt->reads.status = err;
                 dmsg(D_WIN32_IO, "WIN32 I/O: TAP Read error [%d] : %s", len,
-                     strerror_win32(status, &gc));
+                     strerror_win32(err, &gc));
                 gc_free(&gc);
             }
         }

--
To view, visit https://gerrit.openvpn.net/c/openvpn/+/2120?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I8b9efc75656e01df9afe99c280ba8c9c82e937f0
Gerrit-Change-Number: 2120
Gerrit-PatchSet: 2
Gerrit-Owner: Răzvan Cojocaru <[email protected]>
Gerrit-Reviewer: Arne Schwabe <[email protected]>
Gerrit-Reviewer: Frank Lichtenheld <[email protected]>
Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to