mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
netutils/esp8266: Fix bug to get gateway address
Fix bug to get gateway address. Signed-off-by: SPRESENSE <41312067+SPRESENSE@users.noreply.github.com>
This commit is contained in:
parent
5429191ab0
commit
e61ee7981d
1 changed files with 1 additions and 1 deletions
|
|
@ -1771,7 +1771,7 @@ int lesp_get_net(lesp_mode_t mode, in_addr_t *ip,
|
|||
{
|
||||
ninfo("Read:%s\n", g_lesp_state.bufans);
|
||||
|
||||
ret = lesp_parse_cipxxx_ans_line(g_lesp_state.bufans, mask);
|
||||
ret = lesp_parse_cipxxx_ans_line(g_lesp_state.bufans, gw);
|
||||
if (ret < 0)
|
||||
{
|
||||
nerr("ERROR: Line badly formed.\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue