summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-23 14:27:31 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-02-23 14:27:31 -0800
commit9d7ff26f254fce03d0fd165df61cb8465ac21220 (patch)
tree26b47bb7591db6c0841d3e20c96ae66caf03d714
parentfe19ad328cf247a9d1114d7692deb4a368a91bb7 (diff)
downloadinfinitytier-9d7ff26f254fce03d0fd165df61cb8465ac21220.tar.gz
infinitytier-9d7ff26f254fce03d0fd165df61cb8465ac21220.zip
Helps if you actually add the ipauth mask to the characteristics mask.
-rw-r--r--node/Network.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Network.cpp b/node/Network.cpp
index 50df58bb..f227d036 100644
--- a/node/Network.cpp
+++ b/node/Network.cpp
@@ -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];