mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 13:18:50 +08:00
Ping/DNS fixes (part 2 of 2)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5236 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
3cea8822cf
commit
5bb517ef08
1 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,7 @@ static inline int ping_timeout(struct icmp_ping_s *pstate)
|
|||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -365,6 +366,7 @@ int uip_ping(uip_ipaddr_t addr, uint16_t id, uint16_t seqno,
|
|||
|
||||
uip_icmpcallbackfree(state.png_cb);
|
||||
}
|
||||
|
||||
uip_unlock(save);
|
||||
|
||||
/* Return the negated error number in the event of a failure, or the
|
||||
|
|
Loading…
Reference in a new issue