Skip to content

Commit 96dff2f

Browse files
jukkarhenrikbrixandersen
authored andcommitted
tests: net: dhcpv6: Fix zassert_ok check
There was extra parameter when calling zassert_ok() which caused compilation warning. Signed-off-by: Jukka Rissanen <[email protected]>
1 parent e0c74b2 commit 96dff2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/net/dhcpv6/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,13 +413,13 @@ static void verify_dhcpv6_oro_sol_max_rt(struct net_if *iface,
413413
net_pkt_cursor_backup(pkt, &backup);
414414

415415
ret = dhcpv6_find_option(pkt, DHCPV6_OPTION_CODE_ORO, &length);
416-
zassert_ok(ret, 0, "ORO option not found");
416+
zassert_ok(ret, "ORO option not found");
417417
zassert_true(length >= sizeof(uint16_t) && length % sizeof(uint16_t) == 0,
418418
"Invalid ORO length");
419419

420420
while (length >= sizeof(uint16_t)) {
421421
ret = net_pkt_read_be16(pkt, &oro);
422-
zassert_ok(ret, 0, "ORO read error");
422+
zassert_ok(ret, "ORO read error");
423423
length -= sizeof(uint16_t);
424424

425425
if (oro == DHCPV6_OPTION_CODE_SOL_MAX_RT) {

0 commit comments

Comments
 (0)