diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-09 15:45:26 -0700 | 
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-09 15:45:26 -0700 | 
| commit | e1310a764a39d0ed1f29f213c6e75c4e2d7a8aba (patch) | |
| tree | 8d7ba50fe474967fef0fe64ab52928e45746b411 /node/Network.cpp | |
| parent | dbf3e6c3c9214d1b584da18f82743aa7c301ad3e (diff) | |
| download | infinitytier-e1310a764a39d0ed1f29f213c6e75c4e2d7a8aba.tar.gz infinitytier-e1310a764a39d0ed1f29f213c6e75c4e2d7a8aba.zip | |
More cleanup and removal of cruft due to obsolete network-specific relays (will be replaced with federation stuff).
Diffstat (limited to 'node/Network.cpp')
| -rw-r--r-- | node/Network.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/node/Network.cpp b/node/Network.cpp index b84756aa..e098c1fd 100644 --- a/node/Network.cpp +++ b/node/Network.cpp @@ -127,7 +127,7 @@ static int _doZtFilter(  				outp.append((uint16_t)etherType);  				outp.append(frameData,frameLen);  				outp.compress(); -				RR->sw->send(outp,true,nwid); +				RR->sw->send(outp,true);  				if (rt == ZT_NETWORK_RULE_ACTION_REDIRECT) {  					return -1; // match, drop packet (we redirected it) @@ -678,7 +678,7 @@ void Network::requestConfiguration()  	outp.append((const void *)rmd.data(),rmdSize);  	outp.append((_config) ? (uint64_t)_config.revision : (uint64_t)0);  	outp.compress(); -	RR->sw->send(outp,true,0); +	RR->sw->send(outp,true);  	// Expect replies with this in-re packet ID  	_inboundConfigPacketId = outp.packetId(); @@ -894,7 +894,7 @@ void Network::_announceMulticastGroupsTo(const SharedPtr<Peer> &peer,const std::  	for(std::vector<MulticastGroup>::const_iterator mg(allMulticastGroups.begin());mg!=allMulticastGroups.end();++mg) {  		if ((outp.size() + 24) >= ZT_PROTO_MAX_PACKET_LENGTH) {  			outp.compress(); -			RR->sw->send(outp,true,0); +			RR->sw->send(outp,true);  			outp.reset(peer->address(),RR->identity.address(),Packet::VERB_MULTICAST_LIKE);  		} @@ -906,7 +906,7 @@ void Network::_announceMulticastGroupsTo(const SharedPtr<Peer> &peer,const std::  	if (outp.size() > ZT_PROTO_MIN_PACKET_LENGTH) {  		outp.compress(); -		RR->sw->send(outp,true,0); +		RR->sw->send(outp,true);  	}  } | 
