Skip to content

Commit 8cdd961

Browse files
author
Juha Heiskanen
committed
Added possibility for Update DHCPv6 client server address.
Change-Id: I101064a50fe4b915e5f0f4f16fbe2af2c5d62f2f
1 parent 2dfa536 commit 8cdd961

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/DHCPv6_client/dhcpv6_client_service.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ int dhcp_client_get_global_address(int8_t interface, uint8_t dhcp_addr[static 16
234234
dhcpv6_renew(protocol_stack_interface_info_get_by_id(interface), NULL, ADDR_CALLBACK_TIMER);
235235
}
236236
return 0;
237+
} else if (dhcp_client_server_address_update(interface, prefix, dhcp_addr) == 0) {
238+
//DHCP server address OK
239+
return 0;
237240
}
238241
}
239242
return -1;

0 commit comments

Comments
 (0)