You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/05 08:20:18 UTC

[GitHub] [incubator-nuttx-apps] coffee809721232 commented on a change in pull request #958: netutils/dhcpc: Fix dhcpc lease bug

coffee809721232 commented on a change in pull request #958:
URL: https://github.com/apache/incubator-nuttx-apps/pull/958#discussion_r778622368



##########
File path: netutils/dhcpc/dhcpc.c
##########
@@ -458,6 +458,7 @@ static void *dhcpc_run(void *args)
   struct dhcpc_state result;
   int ret;
 
+  memset(&result, 0, sizeof(result));

Review comment:
       If the first request fails, there may be a delay before the second request.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org