Skip to content

Commit 8a2a683

Browse files
author
Juha Heiskanen
committed
Fixed DHCP wrong time elapsed value write.
1 parent 283f2ee commit 8a2a683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/libDHCPv6/dhcp_service_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ uint32_t dhcp_service_send_req(uint16_t instance_id, uint8_t options, void *ptr,
794794
msg_tr_ptr->socket = dhcp_service->dhcp_client_socket;
795795
msg_tr_ptr->recv_resp_cb = receive_resp_cb;
796796
msg_tr_ptr->delayed_tx = delay_tx;
797-
msg_tr_ptr->first_transmit_time = protocol_core_monotonic_time + delay_tx;
797+
msg_tr_ptr->first_transmit_time = protocol_core_monotonic_time;
798798
dhcp_tr_set_retry_timers(msg_tr_ptr, msg_tr_ptr->msg_ptr[0]);
799799
common_write_24_bit(msg_tr_ptr->msg_tr_id, &msg_tr_ptr->msg_ptr[1]);
800800

0 commit comments

Comments
 (0)