Commit Graph

5 Commits

Author SHA1 Message Date
Eero Nurkkala
ced74a064d fsutils/ipcfg: fix debugassert
cppcheck reports the following error:

fsutils/ipcfg/ipcfg_binary.c:332:15: error: Uninitialized variable: fd [uninitvar]
  DEBUGASSERT(fd >= 0 && ipv6cfg != NULL);

Update the DEBUGASSERT() to match that of ipcfg_read_binary_ipv4(). fd is
uninitilized and doesn't need to be checked here.

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2021-12-27 20:42:48 -06:00
David Sidrane
3f2db83898 fsutils/ipcfg: Add assert header 2021-06-08 13:19:50 -05:00
David Sidrane
9f9fed3232 ipcfg_binary: Fix compiler warning 2020-10-16 10:11:21 +08:00
David Sidrane
833d231031 ipcfg:Version the binary structure 2020-10-06 08:20:26 -06:00
Gregory Nutt
a627561c8f apps/fsutils/ipcfg: Add support for IPv6 2020-10-05 00:07:05 +08:00