inet:fix libuvtest udp multicast error
Signed-off-by: wangchen <wangchen41@xiaomi.com>
This commit is contained in:
parent
4745ab64c3
commit
bde91a2abd
@ -38,6 +38,7 @@
|
||||
#include "igmp/igmp.h"
|
||||
#include "inet/inet.h"
|
||||
#include "socket/socket.h"
|
||||
#include "udp/udp.h"
|
||||
|
||||
#if defined(CONFIG_NET_IPv4) && defined(CONFIG_NET_SOCKOPTS)
|
||||
|
||||
@ -180,6 +181,7 @@ int ipv4_setsockopt(FAR struct socket *psock, int option,
|
||||
* outgoing multicast packets */
|
||||
{
|
||||
FAR struct socket_conn_s *conn;
|
||||
int ttl;
|
||||
|
||||
if (value == NULL || value_len == 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user