Added another print_error
This commit is contained in:
parent
ba0cf32cb0
commit
ab1f278685
@ -1030,7 +1030,7 @@ int work_with_tlvs(char * data, int16_t total_packet_len, struct sockaddr_in6 *s
|
|||||||
}
|
}
|
||||||
int rc = add_data(cur_tlv.node_state->length - 26, ntohl(cur_tlv.node_state->node_id), ntohs(cur_tlv.node_state->seqno), cur_tlv.node_state->data);
|
int rc = add_data(cur_tlv.node_state->length - 26, ntohl(cur_tlv.node_state->node_id), ntohs(cur_tlv.node_state->seqno), cur_tlv.node_state->data);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
print_debug(">> Error while adding node state !");
|
print_error("Error while adding node state !");
|
||||||
}
|
}
|
||||||
// The position is updated
|
// The position is updated
|
||||||
tlv_len = data[pos+1];
|
tlv_len = data[pos+1];
|
||||||
|
Loading…
Reference in New Issue
Block a user