Hi, On Sun, Jan 01, 2017 at 06:23:08PM +0300, ???????? ?????????????? wrote: > https://github.com/OpenVPN/openvpn/blob/master/src/openvpn/tun.c#L5930 > > how this is supposed to be used ?
This is test code: simulate what happens if the tap driver refuses our DeviceIoControl() calls. To enable that code, go to the define further up /* #define SIMULATE_DHCP_FAILED */ /* simulate bad DHCP negotiation */ ... and remove the comment characters. Not sure how useful this is, though :) gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel