summaryrefslogtreecommitdiff
path: root/src/anytun.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-01-12 21:53:59 +0000
committerChristian Pointner <equinox@anytun.org>2010-01-12 21:53:59 +0000
commitb25f4dc131b9cd2b0575995d88f969627ce98ef6 (patch)
tree0c5f4c9c939c851cd2fc987f4ce0b4920ac25e50 /src/anytun.cpp
parentcleanup (diff)
improved new SysExec cleanup
Diffstat (limited to 'src/anytun.cpp')
-rw-r--r--src/anytun.cpp4
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();