Merge pull request #6 from laf0rge/laforge/s1ap-ppid-fix

net_accept(): Inherit PPID from listening socket
This commit is contained in:
Sukchan Lee 2017-10-19 09:50:42 +09:00 committed by GitHub
commit c460386d39
1 changed files with 1 additions and 0 deletions

View File

@ -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 */