Skip to content

Commit

Permalink
AP_Networking: enable Socket IP reuse
Browse files Browse the repository at this point in the history
  • Loading branch information
magicrub committed May 28, 2024
1 parent 1d810bf commit ad5b0e2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libraries/AP_Networking/config/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ extern "C"
#define MEMP_MEM_MALLOC 1
#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 LWIP_SOCKET (NO_SYS==0)
Expand Down

0 comments on commit ad5b0e2

Please sign in to comment.