kernel-pfroute: Trigger a roam event if a new interface appears
This commit is contained in:
@@ -569,6 +569,10 @@ static void process_link(private_kernel_pfroute_net_t *this,
|
|||||||
hydra->kernel_interface, iface->ifname);
|
hydra->kernel_interface, iface->ifname);
|
||||||
repopulate_iface(this, iface);
|
repopulate_iface(this, iface);
|
||||||
this->ifaces->insert_last(this->ifaces, iface);
|
this->ifaces->insert_last(this->ifaces, iface);
|
||||||
|
if (iface->usable)
|
||||||
|
{
|
||||||
|
roam = TRUE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user