From aa06470cb6e779563e6c21e1166c36e30a2138ce Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 1 Jun 2017 20:32:43 -0700 Subject: More cleanup for cluster refactor. --- node/Node.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'node') 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)) { -- cgit v1.2.3