Fixed time-sync recipient list encoding.

This commit is contained in:
skarg
2013-10-09 14:51:44 +00:00
parent c0843c8134
commit f6cf0acc12
+1 -1
View File
@@ -162,7 +162,7 @@ int timesync_encode_timesync_recipients(
}
} else if (pRecipient->tag == 1) {
if (pRecipient->type.address.net) {
len = 1 + 3 + 2 + pRecipient->type.address.net + 1;
len = 1 + 3 + 2 + pRecipient->type.address.len + 1;
} else {
len = 1 + 3 + 2 + pRecipient->type.address.mac_len + 1;
}