mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
sys/net/gnrc/dhcpv6: Set stateful configuration mode
This commit is contained in:
parent
4297bfcdee
commit
ff42d6749b
@ -133,6 +133,8 @@ static void *_dhcpv6_cl_simple_pd_thread(void *args)
|
|||||||
dhcpv6_client_init(&event_queue, upstream_netif->pid);
|
dhcpv6_client_init(&event_queue, upstream_netif->pid);
|
||||||
/* configure client to request prefix delegation for WPAN interfaces */
|
/* configure client to request prefix delegation for WPAN interfaces */
|
||||||
_configure_dhcpv6_client();
|
_configure_dhcpv6_client();
|
||||||
|
/* set client configuration mode to stateful */
|
||||||
|
dhcpv6_client_set_conf_mode(DHCPV6_CLIENT_CONF_MODE_STATEFUL);
|
||||||
/* start DHCPv6 client */
|
/* start DHCPv6 client */
|
||||||
dhcpv6_client_start();
|
dhcpv6_client_start();
|
||||||
/* start event loop of DHCPv6 client */
|
/* start event loop of DHCPv6 client */
|
||||||
|
Loading…
Reference in New Issue
Block a user