Re: [Openvpn-devel] [PATCH] Allow inlining of --auth-user-pass

2013-10-07 Thread Max Muster
Hi Davide, I had some time today, so I did some changes ("improvements", I hope ;-)) to your code: First thing you do in add_option() if inline is used: auth_pass_file is set (to "stdin"). So there is no need to check for both (options->auth_user_pass_file || options->auth_user_pass_file_inline),

Re: [Openvpn-devel] Reading ethernet frames with tap driver 9.9.0

2013-10-07 Thread Fran --- ---
Hello!!! Im trying to read ethernet frames with virtual TAP driver, but it doesn't work. When I try to read using readfile function it returns with 0 and the last error code is 83 Incorrect parameter. Could you help me please?? Thank's There is the code. // ConsoleApplication4.cpp: define e