From a0b9eb064cbd487cca6d9c5d3c15d047e196a621 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Tue, 20 Jul 2021 14:42:07 +0200 Subject: [PATCH] gnrc_dhcpv6_client_simple_pd: fix old doc and names --- sys/include/net/gnrc/dhcpv6/client/simple_pd.h | 9 +++++---- sys/net/gnrc/application_layer/dhcpv6/client_simple_pd.c | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/sys/include/net/gnrc/dhcpv6/client/simple_pd.h b/sys/include/net/gnrc/dhcpv6/client/simple_pd.h index c20697a474..d532454e41 100644 --- a/sys/include/net/gnrc/dhcpv6/client/simple_pd.h +++ b/sys/include/net/gnrc/dhcpv6/client/simple_pd.h @@ -7,14 +7,15 @@ */ /** - * @defgroup net_dhcpv6_client_6lbr DHCPv6 client for simple prefix - * delegation + * @defgroup net_dhcpv6_client_simple_pd DHCPv6 client for simple prefix + * delegation * @ingroup net_dhcpv6_client - * @brief DHCPv6 client bootstrapping for routers & 6LoWPAN border routers + * @brief DHCPv6 client bootstrapping for prefix deligation with routers & + * 6LoWPAN border routers * @{ * * @file - * @brief DHCPv6 client on 6LoWPAN border router definitions + * @brief DHCPv6 client for simple prefix delegation definitions * * @author Martine S. Lenders */ diff --git a/sys/net/gnrc/application_layer/dhcpv6/client_simple_pd.c b/sys/net/gnrc/application_layer/dhcpv6/client_simple_pd.c index 4bdf55b339..1de9fca0e5 100644 --- a/sys/net/gnrc/application_layer/dhcpv6/client_simple_pd.c +++ b/sys/net/gnrc/application_layer/dhcpv6/client_simple_pd.c @@ -25,7 +25,7 @@ #include "net/gnrc/dhcpv6/client/simple_pd.h" #if IS_USED(MODULE_AUTO_INIT_DHCPV6_CLIENT) -#error "Module `gnrc_dhcpv6_client_6lbr` is mutually exclusive to \ +#error "Module `gnrc_dhcpv6_client_simple_pd` is mutually exclusive to \ `auto_init_dhcpv6_client`" #endif @@ -116,7 +116,7 @@ static void _configure_dhcpv6_client(void) /** * @brief The DHCPv6 client thread */ -static void *_dhcpv6_cl_6lbr_thread(void *args) +static void *_dhcpv6_cl_simple_pd_thread(void *args) { event_queue_t event_queue; gnrc_netif_t *upstream_netif = _find_upstream_netif(); @@ -146,7 +146,7 @@ void gnrc_dhcpv6_client_simple_pd_init(void) thread_create(_stack, DHCPV6_CLIENT_STACK_SIZE, DHCPV6_CLIENT_PRIORITY, THREAD_CREATE_STACKTEST, - _dhcpv6_cl_6lbr_thread, NULL, "dhcpv6-client"); + _dhcpv6_cl_simple_pd_thread, NULL, "dhcpv6-client"); } /** @} */