]> git.ipfire.org Git - thirdparty/openvpn.git/commit
For Mac OSX, when DARWIN_USE_IPCONFIG is defined, retry ipconfig
authorJames Yonan <james@openvpn.net>
Tue, 12 Apr 2011 05:14:34 +0000 (05:14 +0000)
committerDavid Sommerseth <dazo@users.sourceforge.net>
Tue, 26 Apr 2011 20:29:11 +0000 (22:29 +0200)
commite51935df0ee3984a0464bfd72afc58836cb79d99
tree5393d868485b37c5bedec4960725b3e4aa4d7714
parent28c8776b65c2300b758cd2b707283a43b4a582e8
For Mac OSX, when DARWIN_USE_IPCONFIG is defined, retry ipconfig
command on failure once every second for up to 15 seconds.  This
is necessary to work around an issue observed on OSX 10.5 where
the ipconfig command sometimes fails if executed immediately after
the tun device open.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7151 e7ae566f-a301-0410-adde-c780ea21d3b5
tun.c