mirror of
https://github.com/samba-team/samba.git
synced 2025-11-22 16:23:49 +03:00
r3136: - Allow specifying socket type when adding smbd service
- Make sure a epm_tower struct is completely initialized - Some more minor fixes
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
395c3815b4
commit
d560dcbdb8
@@ -40,10 +40,10 @@ static void add_socket(struct server_service *service,
|
||||
uint16_t port = 389;
|
||||
char *ip_str = talloc_strdup(service, inet_ntoa(*ifip));
|
||||
|
||||
srv_sock = service_setup_socket(service, model_ops, ip_str, &port);
|
||||
srv_sock = service_setup_socket(service, model_ops, "ipv4", ip_str, &port);
|
||||
|
||||
port = 3268;
|
||||
srv_sock = service_setup_socket(service, model_ops, ip_str, &port);
|
||||
srv_sock = service_setup_socket(service, model_ops, "ipv4", ip_str, &port);
|
||||
|
||||
talloc_free(ip_str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user