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
@ -123,6 +123,7 @@ static inline int ping_timeout(struct icmp_ping_s *pstate)
|
|||||||
{
|
{
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
return FALSE;
|
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_icmpcallbackfree(state.png_cb);
|
||||||
}
|
}
|
||||||
|
|
||||||
uip_unlock(save);
|
uip_unlock(save);
|
||||||
|
|
||||||
/* Return the negated error number in the event of a failure, or the
|
/* Return the negated error number in the event of a failure, or the
|
||||||
|
Loading…
Reference in New Issue
Block a user