mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
NET: Fix a few problems after big merge of network reorganization
This commit is contained in:
+2
-1
@@ -49,6 +49,7 @@
|
||||
# include <netpacket/packet.h>
|
||||
#endif
|
||||
|
||||
#include <nuttx/net/net.h>
|
||||
#include <nuttx/net/udp.h>
|
||||
|
||||
#include "socket/socket.h"
|
||||
@@ -140,7 +141,7 @@ static int pkt_bind(FAR struct pkt_conn_s *conn,
|
||||
****************************************************************************/
|
||||
|
||||
int psock_bind(FAR struct socket *psock, const struct sockaddr *addr,
|
||||
socklen_t addrlen)
|
||||
socklen_t addrlen)
|
||||
{
|
||||
#ifdef CONFIG_NET_PKT
|
||||
FAR const struct sockaddr_ll *lladdr = (const struct sockaddr_ll *)addr;
|
||||
|
||||
Reference in New Issue
Block a user