From d68db1ecfa512bc416bfa906d74f441cba2ab8fb Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Mon, 2 Oct 2023 18:22:29 +0300 Subject: [PATCH] net: dhcpv6: Fix params check Fix params check. Signed-off-by: Andrei Emeltchenko --- subsys/net/ip/dhcpv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/net/ip/dhcpv6.c b/subsys/net/ip/dhcpv6.c index 6fae4f320bfce8..fdfef3c51472cf 100644 --- a/subsys/net/ip/dhcpv6.c +++ b/subsys/net/ip/dhcpv6.c @@ -2100,7 +2100,7 @@ void net_dhcpv6_start(struct net_if *iface, struct net_dhcpv6_params *params) goto out; } - if (!params->request_addr && !params->request_addr) { + if (!params->request_addr && !params->request_prefix) { NET_ERR("Information Request not supported yet"); goto out; }