mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-20 09:46:13 +00:00
TRACE NOP receipt.
This commit is contained in:
parent
2355fa973e
commit
17796aaed4
@ -20,7 +20,7 @@ ifeq ($(ZT_AUTO_UPDATE),1)
|
||||
endif
|
||||
|
||||
# Uncomment to dump trace and log info to stdout (useful for debug/test)
|
||||
#DEFS+=-DZT_TRACE -DZT_LOG_STDOUT
|
||||
DEFS+=-DZT_TRACE -DZT_LOG_STDOUT
|
||||
|
||||
# Uncomment for a release optimized universal binary build
|
||||
CFLAGS=-arch i386 -arch x86_64 -Wall -O4 -fstack-protector -pthread -mmacosx-version-min=10.6 -DNDEBUG -Wno-unused-private-field $(INCLUDES) $(DEFS)
|
||||
|
@ -80,6 +80,7 @@ bool PacketDecoder::tryDecode(const RuntimeEnvironment *_r)
|
||||
|
||||
switch(verb()) {
|
||||
case Packet::VERB_NOP:
|
||||
TRACE("NOP from %s(%s)",source().toString().c_str(),_remoteAddress.toString().c_str());
|
||||
peer->onReceive(_r,_localPort,_remoteAddress,hops(),packetId(),Packet::VERB_NOP,0,Packet::VERB_NOP,Utils::now());
|
||||
return true;
|
||||
case Packet::VERB_HELLO:
|
||||
|
Loading…
x
Reference in New Issue
Block a user