From dbb509a30234059fb6de10cfcd9ba1aade6a0138 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 19 Aug 2013 17:44:46 -0400 Subject: Add an interface description to EthernetTap, mostly for Windows. --- node/Network.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/Network.cpp') diff --git a/node/Network.cpp b/node/Network.cpp index 314c9feb..d974c5d2 100644 --- a/node/Network.cpp +++ b/node/Network.cpp @@ -150,7 +150,7 @@ SharedPtr Network::newInstance(const RuntimeEnvironment *renv,uint64_t nw->_rlLimit.bytesPerSecond = ZT_MULTICAST_DEFAULT_BYTES_PER_SECOND; nw->_rlLimit.maxBalance = ZT_MULTICAST_DEFAULT_RATE_MAX_BALANCE; nw->_rlLimit.minBalance = ZT_MULTICAST_DEFAULT_RATE_MIN_BALANCE; - nw->_tap = new EthernetTap(renv,renv->identity.address().toMAC(),ZT_IF_MTU,&_CBhandleTapData,nw.ptr()); + nw->_tap = new EthernetTap(renv,renv->identity.address().toMAC(),ZT_IF_MTU,(const char *)0,&_CBhandleTapData,nw.ptr()); nw->_id = id; nw->_lastConfigUpdate = 0; nw->_destroyOnDelete = false; -- cgit v1.2.3