kernel-interface: Always set `vip` if get_address_by_ts() returns successfully
This commit is contained in:
parent
ebeaac1f2b
commit
436f64d5bc
|
@ -665,6 +665,10 @@ METHOD(kernel_interface_t, get_address_by_ts, status_t,
|
|||
if (ts->includes(ts, host))
|
||||
{
|
||||
*ip = host_create_any(family);
|
||||
if (vip)
|
||||
{
|
||||
*vip = FALSE;
|
||||
}
|
||||
host->destroy(host);
|
||||
DBG2(DBG_KNL, "using host %H", *ip);
|
||||
return SUCCESS;
|
||||
|
|
Loading…
Reference in New Issue