diff --git a/lib/core/src/unix/net_lib.c b/lib/core/src/unix/net_lib.c index 85ee901f8..cc4bc9257 100644 --- a/lib/core/src/unix/net_lib.c +++ b/lib/core/src/unix/net_lib.c @@ -638,6 +638,7 @@ int net_accept(net_sock_t **new_accept_sock, net_sock_t *net_sock, int timeout) node->sock_id = new_sock; node->proto = net_sock->proto; + node->ppid = net_sock->ppid; *new_accept_sock = node; /* Save local and remote address */