summaryrefslogtreecommitdiff
path: root/src/bsd
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/bsd
parentcleanup (diff)
improved new SysExec cleanup
Diffstat (limited to 'src/bsd')
-rw-r--r--src/bsd/tunDevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bsd/tunDevice.cpp b/src/bsd/tunDevice.cpp
index 40c3001..84fa727 100644
--- a/src/bsd/tunDevice.cpp
+++ b/src/bsd/tunDevice.cpp
@@ -275,9 +275,9 @@ void TunDevice::do_ifconfig()
#endif
}
-void TunDevice::waitForPostUpScript()
+void TunDevice::waitUntilReady()
{
- if (sys_exec_)
- sys_exec_->waitForScript();
+ if(sys_exec_)
+ SysExec::waitAndDestroy(&sys_exec_);
}