kernel-pfroute: Provide name of interfaces on which virtual IPs are installed

This commit is contained in:
Tobias Brunner
2013-07-17 17:45:18 +02:00
parent e9c1ca0278
commit 5310f485d9
2 changed files with 23 additions and 1 deletions
@@ -1266,7 +1266,7 @@ METHOD(kernel_net_t, get_interface_name, bool,
if (name)
{
*name = strdup(entry->iface->ifname);
DBG2(DBG_KNL, "virtual %H is on interface %s", ip, *name);
DBG2(DBG_KNL, "virtual IP %H is on interface %s", ip, *name);
}
this->lock->unlock(this->lock);
return TRUE;