Make that an arbitrary tag to identify persistent taps...

This commit is contained in:
Adam Ierymenko
2013-08-21 08:13:48 -04:00
parent dbb509a302
commit 2536352e5d
4 changed files with 9 additions and 4 deletions

View File

@ -146,9 +146,9 @@ static Mutex __tapCreateLock;
#ifdef __LINUX__
EthernetTap::EthernetTap(
const RuntimeEnvironment *renv,
const char *tag,
const MAC &mac,
unsigned int mtu,
const char *desc,
void (*handler)(void *,const MAC &,const MAC &,unsigned int,const Buffer<4096> &),
void *arg)
throw(std::runtime_error) :
@ -247,9 +247,9 @@ EthernetTap::EthernetTap(
#ifdef __APPLE__
EthernetTap::EthernetTap(
const RuntimeEnvironment *renv,
const char *tag,
const MAC &mac,
unsigned int mtu,
const char *desc,
void (*handler)(void *,const MAC &,const MAC &,unsigned int,const Buffer<4096> &),
void *arg)
throw(std::runtime_error) :