Re: [Openvpn-devel] [PATCH] Improve error msg when all TAP adapters are in use "or disabled"

2020-10-01 Thread Arne Schwabe
Am 06.08.20 um 21:27 schrieb Selva Nair: > Hi, > > This looks good but can we do better? We don't check the error > (GetLastError()) after the CreateFile() failure -- can we determine > whether the error was due to permissions, busy file (in use) or > disabled device and print out a more specific

Re: [Openvpn-devel] [PATCH] Improve error msg when all TAP adapters are in use "or disabled"

2020-08-06 Thread Selva Nair
Hi, This looks good but can we do better? We don't check the error (GetLastError()) after the CreateFile() failure -- can we determine whether the error was due to permissions, busy file (in use) or disabled device and print out a more specific error message? I'm not sure what errors are