Skip to content

Commit b30635f

Browse files
author
Jarkko Paso
authored
Merge pull request #2191 from ARMmbed/IOTTHD-3693
Updated message generated traces
2 parents ea15b0e + 88019ec commit b30635f

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

source/Common_Protocols/icmpv6.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,8 +1606,6 @@ buffer_t *icmpv6_build_na(protocol_interface_info_entry_t *cur, bool solicited,
16061606
uint8_t *ptr;
16071607
uint8_t flags;
16081608

1609-
tr_debug("Build NA");
1610-
16111609
/* Check if ARO response and status == success, then sending can be omitted with flag */
16121610
if (aro && cur->ipv6_neighbour_cache.omit_na_aro_success && aro->status == ARO_SUCCESS) {
16131611
tr_debug("Omit NA ARO success");
@@ -1715,6 +1713,8 @@ buffer_t *icmpv6_build_na(protocol_interface_info_entry_t *cur, bool solicited,
17151713
buf->info = (buffer_info_t)(B_DIR_DOWN | B_FROM_ICMP | B_TO_ICMP);
17161714
buf->interface = cur;
17171715

1716+
tr_debug("Build NA");
1717+
17181718
return (buf);
17191719
}
17201720

source/RPL/rpl_control.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,6 +1395,7 @@ void rpl_control_transmit_dis(rpl_domain_t *domain, protocol_interface_info_entr
13951395

13961396
buffer_data_end_set(buf, ptr);
13971397
rpl_control_transmit(domain, cur, ICMPV6_CODE_RPL_DIS, buf, dst);
1398+
tr_info("Transmit DIS");
13981399
}
13991400

14001401
#ifdef HAVE_RPL_DAO_HANDLING

source/libDHCPv6/dhcp_service_api.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ void dhcp_service_delete(uint16_t instance)
679679

680680
int dhcp_service_send_resp(uint32_t msg_tr_id, uint8_t options, uint8_t *msg_ptr, uint16_t msg_len)
681681
{
682+
tr_debug("Send DHCPv6 response");
682683
msg_tr_t *msg_tr_ptr;
683684
server_instance_t *srv_instance;
684685
msg_tr_ptr = dhcp_tr_find(msg_tr_id);
@@ -706,6 +707,7 @@ int dhcp_service_send_resp(uint32_t msg_tr_id, uint8_t options, uint8_t *msg_ptr
706707
}
707708
uint32_t dhcp_service_send_req(uint16_t instance_id, uint8_t options, void *ptr, const uint8_t addr[static 16], uint8_t *msg_ptr, uint16_t msg_len, dhcp_service_receive_resp_cb *receive_resp_cb)
708709
{
710+
tr_debug("Send DHCPv6 request");
709711
msg_tr_t *msg_tr_ptr;
710712
server_instance_t *srv_ptr;
711713
srv_ptr = dhcp_service_client_find(instance_id);

0 commit comments

Comments
 (0)