summaryrefslogtreecommitdiffhomepage
path: root/svr-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-main.c')
-rw-r--r--svr-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svr-main.c b/svr-main.c
index 616ddaf..0b65a45 100644
--- a/svr-main.c
+++ b/svr-main.c
@@ -403,9 +403,9 @@ static size_t listensockets(int *sock, size_t sockcount, int *maxfd) {
for (i = 0; i < svr_opts.portcount; i++) {
- TRACE(("listening on '%s'", svr_opts.ports[i]))
+ TRACE(("listening on '%s:%s'", svr_opts.addresses[i], svr_opts.ports[i]))
- nsock = dropbear_listen("", svr_opts.ports[i], &sock[sockpos],
+ nsock = dropbear_listen(svr_opts.addresses[i], svr_opts.ports[i], &sock[sockpos],
sockcount - sockpos,
&errstring, maxfd);