mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Allow AF_UNIX for open_socket_out
This commit is contained in:
parent
f19c9147a5
commit
3cd03b229b
@ -1018,6 +1018,10 @@ struct tevent_req *open_socket_out_send(TALLOC_CTX *mem_ctx,
|
||||
state->salen = sizeof(struct sockaddr_in);
|
||||
}
|
||||
|
||||
if (pss->ss_family == AF_UNIX) {
|
||||
state->salen = sizeof(struct sockaddr_un);
|
||||
}
|
||||
|
||||
print_sockaddr(addr, sizeof(addr), &state->ss);
|
||||
DEBUG(3,("Connecting to %s at port %u\n", addr, (unsigned int)port));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user