Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
const struct smb_transports *ts = &parent->transports;
uint8_t ti;
int num_interfaces = iface_count();
- int i;
unsigned dns_port = 0;
#ifdef HAVE_ATEXIT
told to only bind to those interfaces. Create a
socket per interface and bind to only these.
*/
+ int i;
/* Now open a listen socket for each of the
interfaces. */
#endif
"0.0.0.0",
};
+ size_t i;
for (i = 0; i < ARRAY_SIZE(sock_addrs); i++) {
const char *sock_tok = sock_addrs[i];