summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-06-01 20:32:43 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-06-01 20:32:43 -0700
commitaa06470cb6e779563e6c21e1166c36e30a2138ce (patch)
tree1f3521ca4605ac0c8cf5727a64be6e73cc77729e /node
parentd7b4f24a7a8193992c39140fdc6c40a58f3fb2b3 (diff)
downloadinfinitytier-aa06470cb6e779563e6c21e1166c36e30a2138ce.tar.gz
infinitytier-aa06470cb6e779563e6c21e1166c36e30a2138ce.zip
More cleanup for cluster refactor.
Diffstat (limited to 'node')
-rw-r--r--node/Node.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/node/Node.cpp b/node/Node.cpp
index ccc63eed..7421c467 100644
--- a/node/Node.cpp
+++ b/node/Node.cpp
@@ -146,8 +146,15 @@ ZT_ResultCode Node::processStateUpdate(
ZT_ResultCode r = ZT_RESULT_OK_IGNORED;
switch(type) {
- case ZT_STATE_OBJECT_PEER: {
- } break;
+ case ZT_STATE_OBJECT_PEER:
+ if (len) {
+ }
+ break;
+
+ case ZT_STATE_OBJECT_PEER_IDENTITY:
+ if (len) {
+ }
+ break;
case ZT_STATE_OBJECT_NETWORK_CONFIG:
if (len <= (ZT_NETWORKCONFIG_DICT_CAPACITY - 1)) {