diff options
Diffstat (limited to 'src/anytun.cpp')
-rw-r--r-- | src/anytun.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/anytun.cpp b/src/anytun.cpp index 4fa0b25..50aa255 100644 --- a/src/anytun.cpp +++ b/src/anytun.cpp @@ -430,9 +430,9 @@ int main(int argc, char* argv[]) #endif gResolver.init(); #ifndef NO_EXEC - boost::thread(boost::bind(&TunDevice::waitForPostUpScript,&dev)); + boost::thread(boost::bind(&TunDevice::waitUntilReady,&dev)); if (postup_script) - boost::thread(boost::bind(&SysExec::waitForScript,postup_script)); + boost::thread(boost::bind(&SysExec::waitAndDestroy,&postup_script)); #endif initCrypto(); |