Since which tap to use is chosen statically at compile time and the factories are gone, there is now no need for inheritance or virtual methods (indirect calls) here. Should improve performance slightly to get rid of them.
This commit is contained in:
@@ -576,11 +576,6 @@ bool OSXEthernetTap::updateMulticastGroups(std::set<MulticastGroup> &groups)
|
||||
return changed;
|
||||
}
|
||||
|
||||
bool OSXEthernetTap::injectPacketFromHost(const MAC &from,const MAC &to,unsigned int etherType,const void *data,unsigned int len)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void OSXEthernetTap::threadMain()
|
||||
throw()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user