mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-08 22:55:12 +00:00
Remove all CONFIG_NET_HAVE_REUSEADDR guard
This commit is contained in:
parent
1d6fcfac13
commit
e0adf5ee0b
2 changed files with 0 additions and 6 deletions
|
|
@ -1174,12 +1174,10 @@ static FAR struct ftpd_server_s *ftpd_openserver(int port, sa_family_t family)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_NET_HAVE_REUSEADDR
|
||||
{
|
||||
int reuse = 1;
|
||||
setsockopt(server->sd, SOL_SOCKET, SO_REUSEADDR, &reuse, sizeof(reuse));
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Bind the socket to the address */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue