Take TRACE back out of Mac makefile, fix a few decode little things.
This commit is contained in:
parent
490e86dde3
commit
525ab3faa9
3 changed files with 10 additions and 10 deletions
|
@ -67,7 +67,7 @@ Switch::~Switch()
|
|||
void Switch::onRemotePacket(Demarc::Port localPort,const InetAddress &fromAddr,const Buffer<4096> &data)
|
||||
{
|
||||
try {
|
||||
if (data.size() >= ZT_PROTO_MIN_FRAGMENT_LENGTH) {
|
||||
if (data.size() > ZT_PROTO_MIN_FRAGMENT_LENGTH) {
|
||||
if (data[ZT_PACKET_FRAGMENT_IDX_FRAGMENT_INDICATOR] == ZT_PACKET_FRAGMENT_INDICATOR)
|
||||
_handleRemotePacketFragment(localPort,fromAddr,data);
|
||||
else if (data.size() >= ZT_PROTO_MIN_PACKET_LENGTH)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue