sock: pass protocol to sockets

This commit is contained in:
Matheus
2026-09-10 16:41:21 -03:00
parent 894d9bdaf9
commit 79752fb5e0
9 changed files with 36 additions and 26 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ syscallret_t syscall_accept(context_t *, int oldfd, abisockaddr_t *abisockaddr,
goto cleanup;
}
socket_t *client = socket_create(server->type);
socket_t *client = socket_create(server->type, server->protocol);
if (client == NULL) {
ret.errno = ENOMEM;
goto cleanup;