Skip to content

Commit 21d9c24

Browse files
author
Juha Heiskanen
committed
DHCP server address allocated pointer init fix.
Change-Id: I331b31f4d695830cabfffa67145faefd5b198d2b
1 parent e659a01 commit 21d9c24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/DHCPv6_Server/DHCPv6_Server_service.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static void DHCP_server_service_timer_stop(void)
8787

8888
int DHCPv6_server_respond_client(dhcpv6_gua_server_entry_s *serverBase, dhcpv6_reply_packet_s *replyPacket, dhcp_ia_non_temporal_params_t *dhcp_ia_non_temporal_params, dhcpv6_gua_response_t *response, bool allocateNew)
8989
{
90-
dhcpv6_alloacted_address_entry_t *dhcp_allocated_address;
90+
dhcpv6_alloacted_address_entry_t *dhcp_allocated_address = NULL;
9191
dhcpv6_ia_non_temporal_address_s nonTemporalAddress;
9292
bool address_allocated = false;
9393
//Validate Client DUID

0 commit comments

Comments
 (0)