diff --git a/lib/core/src/unix/net_lib.c b/lib/core/src/unix/net_lib.c index 754569746..2a6ea9d1c 100644 --- a/lib/core/src/unix/net_lib.c +++ b/lib/core/src/unix/net_lib.c @@ -663,6 +663,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 */