Skip to content

Commit

Permalink
[nrf fromtree] net: dhcpv6: Fix params check
Browse files Browse the repository at this point in the history
Fix params check.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
(cherry picked from commit d68db1e)
Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
  • Loading branch information
finikorg authored and de-nordic committed Oct 5, 2023
1 parent d272510 commit 972c7c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subsys/net/ip/dhcpv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 972c7c3

Please sign in to comment.