diff options
author | Martin Willi <martin@strongswan.org> | 2008-05-15 08:41:00 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-05-15 08:41:00 +0000 |
commit | bb94e1ed601ae3c256c882c8f1fb34525b401577 (patch) | |
tree | b0b3646ca1c3a8f946da8f180c314e950a7eba6f | |
parent | bde895181d019701b13fc2021a61486d7d524a4d (diff) | |
download | strongswan-bb94e1ed601ae3c256c882c8f1fb34525b401577.tar.bz2 strongswan-bb94e1ed601ae3c256c882c8f1fb34525b401577.tar.xz |
properly removing bootup poll interface eth0
-rw-r--r-- | src/dumm/mconsole.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/dumm/mconsole.c b/src/dumm/mconsole.c index 01fdbb422..d9864f676 100644 --- a/src/dumm/mconsole.c +++ b/src/dumm/mconsole.c @@ -212,7 +212,10 @@ static bool wait_bootup(private_mconsole_t *this) } if (res == 0) { - request(this, "remove eth9", buf, &len); + while (request(this, "remove eth9", buf, &len) != 0) + { + usleep(50000); + } return TRUE; } if (this->idle) |