mirror of https://github.com/ArduPilot/ardupilot
AP_Networking: enable Socket IP reuse
This commit is contained in:
parent
304751e162
commit
9669699405
|
@ -69,6 +69,12 @@ extern "C"
|
||||||
#define MEMP_MEM_MALLOC 1
|
#define MEMP_MEM_MALLOC 1
|
||||||
#define LWIP_NETCONN_SEM_PER_THREAD 0
|
#define LWIP_NETCONN_SEM_PER_THREAD 0
|
||||||
|
|
||||||
|
/**
|
||||||
|
* SO_REUSE==1: Enable SO_REUSEADDR option.
|
||||||
|
*/
|
||||||
|
#ifndef SO_REUSE
|
||||||
|
#define SO_REUSE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#define NO_SYS 0
|
#define NO_SYS 0
|
||||||
#define LWIP_SOCKET (NO_SYS==0)
|
#define LWIP_SOCKET (NO_SYS==0)
|
||||||
|
|
Loading…
Reference in New Issue