mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
Fix for allIps -> ips in EthernetTap on Unix.
This commit is contained in:
parent
8771418170
commit
eb554a504d
1 changed files with 3 additions and 3 deletions
|
@ -536,10 +536,10 @@ bool EthernetTap::removeIP(const InetAddress &ip)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::set<InetAddress> EthernetTap::allIps() const
|
std::set<InetAddress> EthernetTap::ips() const
|
||||||
{
|
{
|
||||||
// TODO
|
Mutex::Lock _l(_ips_m);
|
||||||
return ips();
|
return _ips;
|
||||||
}
|
}
|
||||||
|
|
||||||
void EthernetTap::put(const MAC &from,const MAC &to,unsigned int etherType,const void *data,unsigned int len)
|
void EthernetTap::put(const MAC &from,const MAC &to,unsigned int etherType,const void *data,unsigned int len)
|
||||||
|
|
Loading…
Add table
Reference in a new issue