Helps if you actually add the ipauth mask to the characteristics mask.

This commit is contained in:
Adam Ierymenko 2017-02-23 14:27:31 -08:00
parent fe19ad328c
commit 9d7ff26f25

View File

@ -532,6 +532,7 @@ static _doZtFilterResult _doZtFilter(
}
}
}
cf |= ownershipVerificationMask;
if ((etherType == ZT_ETHERTYPE_IPV4)&&(frameLen >= 20)&&(frameData[9] == 0x06)) {
const unsigned int headerLen = 4 * (frameData[0] & 0xf);
cf |= (uint64_t)frameData[headerLen + 13];