diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-08-21 08:13:48 -0400 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2013-08-21 08:13:48 -0400 |
| commit | 2536352e5d166719acc87535ed17a805e7bd3c26 (patch) | |
| tree | eb676d506f419c410e0dda711273f5dcfcc6bb79 /node/EthernetTap.cpp | |
| parent | dbb509a30234059fb6de10cfcd9ba1aade6a0138 (diff) | |
| download | infinitytier-2536352e5d166719acc87535ed17a805e7bd3c26.tar.gz infinitytier-2536352e5d166719acc87535ed17a805e7bd3c26.zip | |
Make that an arbitrary tag to identify persistent taps...
Diffstat (limited to 'node/EthernetTap.cpp')
| -rw-r--r-- | node/EthernetTap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/node/EthernetTap.cpp b/node/EthernetTap.cpp index 88096470..1cc15c14 100644 --- a/node/EthernetTap.cpp +++ b/node/EthernetTap.cpp @@ -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) : |
