Trying to fix

This commit is contained in:
n07070 2020-04-29 22:45:58 +02:00
parent e96c21027e
commit 201084d9f1

View File

@ -984,7 +984,11 @@ int work_with_tlvs(char * data, uint16_t total_packet_len, struct sockaddr_in6 *
printf("%lu\n", cur_tlv.node_state->node_id );
printf("%hu\n", cur_tlv.node_state->seqno );
printf("%.16s\n", cur_tlv.node_state->node_hash);
printf("%s\n", cur_tlv.node_state->data);
printf("%s\0\n", cur_tlv.node_state->data);
sprintf(warn, ">> WARNING:\n%%.%ds", cur_tlv.node_state->length);
printf(warn, cur_tlv.node_state->data);
sleep(3);
if (DEBUG_LEVEL > 0) {
if (cur_tlv.node_state->data == NULL) {