summaryrefslogtreecommitdiff
path: root/node/Capability.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-26 13:26:26 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-26 13:26:26 -0700
commit6bd5aba4faeced8879ce095d138279a84fce497a (patch)
treeef06fc077a44b1cd9bc8c32ae3a671734a8044a2 /node/Capability.hpp
parentfb5217761b4b2e294902646733fbff25436a1781 (diff)
downloadinfinitytier-6bd5aba4faeced8879ce095d138279a84fce497a.tar.gz
infinitytier-6bd5aba4faeced8879ce095d138279a84fce497a.zip
fix frame size range bug
Diffstat (limited to 'node/Capability.hpp')
-rw-r--r--node/Capability.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Capability.hpp b/node/Capability.hpp
index ce2eedc4..46fa9da6 100644
--- a/node/Capability.hpp
+++ b/node/Capability.hpp
@@ -323,7 +323,7 @@ public:
break;
case ZT_NETWORK_RULE_MATCH_FRAME_SIZE_RANGE:
rules[ruleCount].v.frameSize[0] = b.template at<uint16_t>(p);
- rules[ruleCount].v.frameSize[0] = b.template at<uint16_t>(p + 2);
+ rules[ruleCount].v.frameSize[1] = b.template at<uint16_t>(p + 2);
break;
case ZT_NETWORK_RULE_MATCH_TAGS_SAMENESS:
case ZT_NETWORK_RULE_MATCH_TAGS_BITWISE_AND: