Skip to content

Commit

Permalink
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>
  • Loading branch information
finikorg authored and fabiobaltieri committed Oct 3, 2023
1 parent f3556f3 commit d68db1e
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 d68db1e

Please sign in to comment.