|
Lines 1259-1268
main(int ac, char **av)
Link Here
|
| 1259 |
num_listen_socks++; |
1259 |
num_listen_socks++; |
| 1260 |
|
1260 |
|
| 1261 |
/* Start listening on the port. */ |
1261 |
/* Start listening on the port. */ |
| 1262 |
logit("Server listening on %s port %s.", ntop, strport); |
|
|
| 1263 |
if (listen(listen_sock, SSH_LISTEN_BACKLOG) < 0) |
1262 |
if (listen(listen_sock, SSH_LISTEN_BACKLOG) < 0) |
| 1264 |
fatal("listen: %.100s", strerror(errno)); |
1263 |
fatal("listen on [%s]:%s: %.100s", |
| 1265 |
|
1264 |
ntop, strport, strerror(errno)); |
|
|
1265 |
logit("Server listening on %s port %s.", ntop, strport); |
| 1266 |
} |
1266 |
} |
| 1267 |
freeaddrinfo(options.listen_addrs); |
1267 |
freeaddrinfo(options.listen_addrs); |
| 1268 |
|
1268 |
|