[tests] update test_child to use Clear() instead of memset (#4248)

This commit is contained in:
Abtin Keshavarzian
2019-10-15 15:46:17 -07:00
committed by Jonathan Hui
parent 0e45ba6d77
commit 956fa518a7
+1 -1
View File
@@ -143,7 +143,7 @@ void TestChildIp6Address(void)
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
printf("Child state after init");
memset(&child, 0, sizeof(child));
child.Clear();
VerifyChildIp6Addresses(child, 0, NULL);
printf(" -- PASS\n");