Don't wait while removing external IPs used for load testing

This commit is contained in:
Martin Willi
2012-11-29 10:22:51 +01:00
parent b185cdd16d
commit d88597f0dd
8 changed files with 18 additions and 11 deletions
+2 -2
View File
@@ -323,13 +323,13 @@ METHOD(kernel_interface_t, add_ip, status_t,
}
METHOD(kernel_interface_t, del_ip, status_t,
private_kernel_interface_t *this, host_t *virtual_ip, int prefix)
private_kernel_interface_t *this, host_t *virtual_ip, int prefix, bool wait)
{
if (!this->net)
{
return NOT_SUPPORTED;
}
return this->net->del_ip(this->net, virtual_ip, prefix);
return this->net->del_ip(this->net, virtual_ip, prefix, wait);
}
METHOD(kernel_interface_t, add_route, status_t,