Skip to content

Commit e61ee79

Browse files
SPRESENSEjerpelea
authored andcommitted
netutils/esp8266: Fix bug to get gateway address
Fix bug to get gateway address. Signed-off-by: SPRESENSE <[email protected]>
1 parent 5429191 commit e61ee79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netutils/esp8266/esp8266.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1771,7 +1771,7 @@ int lesp_get_net(lesp_mode_t mode, in_addr_t *ip,
17711771
{
17721772
ninfo("Read:%s\n", g_lesp_state.bufans);
17731773

1774-
ret = lesp_parse_cipxxx_ans_line(g_lesp_state.bufans, mask);
1774+
ret = lesp_parse_cipxxx_ans_line(g_lesp_state.bufans, gw);
17751775
if (ret < 0)
17761776
{
17771777
nerr("ERROR: Line badly formed.\n");

0 commit comments

Comments
 (0)