mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
During a long ping, the tester will repeatedly switch the dev interface on and off.
When the interface is down and ping is in sendto sem_wait state,ifdown will trigger event of sendto and post sem.
in func of sendto_eventhandler:
if ((flags & NETDEV_DOWN) != 0)
{
nerr("ERROR: Interface is down\n");
pstate->snd_result = -ENETUNREACH;
goto end_wait;
}
Signed-off-by: meijian <meijian@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| icmp_ping.c | ||
| icmpv6_ping.c | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||