Skip to content

Commit

Permalink
Fixed DHCP wrong time elapsed value write.
Browse files Browse the repository at this point in the history
  • Loading branch information
Juha Heiskanen committed May 11, 2021
1 parent 283f2ee commit 8a2a683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/libDHCPv6/dhcp_service_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ uint32_t dhcp_service_send_req(uint16_t instance_id, uint8_t options, void *ptr,
msg_tr_ptr->socket = dhcp_service->dhcp_client_socket;
msg_tr_ptr->recv_resp_cb = receive_resp_cb;
msg_tr_ptr->delayed_tx = delay_tx;
msg_tr_ptr->first_transmit_time = protocol_core_monotonic_time + delay_tx;
msg_tr_ptr->first_transmit_time = protocol_core_monotonic_time;
dhcp_tr_set_retry_timers(msg_tr_ptr, msg_tr_ptr->msg_ptr[0]);
common_write_24_bit(msg_tr_ptr->msg_tr_id, &msg_tr_ptr->msg_ptr[1]);

Expand Down

0 comments on commit 8a2a683

Please sign in to comment.