Code cleanup, and fix some unsafe pointer handling in Network.

This commit is contained in:
Adam Ierymenko
2014-10-29 13:57:37 -07:00
parent f65b48d447
commit 95f421024a
10 changed files with 86 additions and 97 deletions

View File

@@ -43,7 +43,6 @@
namespace ZeroTier {
TestEthernetTap::TestEthernetTap(
TestEthernetTapFactory *parent,
const MAC &mac,
unsigned int mtu,
unsigned int metric,
@@ -54,7 +53,6 @@ TestEthernetTap::TestEthernetTap(
void *arg) :
EthernetTap("TestEthernetTap",mac,mtu,metric),
_nwid(nwid),
_parent(parent),
_handler(handler),
_arg(arg),
_enabled(true)