mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user