| 270 |
|
assert(conf->class); |
| 271 |
|
|
| 272 |
|
/* Also when already connecting! (update holdtimes) --SRB */ |
| 273 |
< |
if (!conf->port || !IsConfAllowAutoConn(conf)) |
| 273 |
> |
if (conf->port == 0 || !IsConfAllowAutoConn(conf)) |
| 274 |
|
continue; |
| 275 |
|
|
| 276 |
|
/* |
| 330 |
|
} |
| 331 |
|
|
| 332 |
|
int |
| 333 |
< |
valid_servname(const char *name) |
| 333 |
> |
server_valid_name(const char *name) |
| 334 |
|
{ |
| 335 |
|
unsigned int dots = 0; |
| 336 |
|
const char *p = name; |
| 394 |
|
|
| 395 |
|
getnameinfo((const struct sockaddr *)&conf->addr, conf->addr.ss_len, |
| 396 |
|
buf, sizeof(buf), NULL, 0, NI_NUMERICHOST); |
| 397 |
< |
ilog(LOG_TYPE_IRCD, "Connect to %s[%s] @%s", conf->name, conf->host, |
| 398 |
< |
buf); |
| 397 |
> |
ilog(LOG_TYPE_IRCD, "Connect to %s[%s] @%s", conf->name, conf->host, buf); |
| 398 |
|
|
| 399 |
|
/* Still processing a DNS lookup? -> exit */ |
| 400 |
|
if (conf->dns_pending) |