summaryrefslogtreecommitdiffhomepage
path: root/svr-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-main.c')
-rw-r--r--svr-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-main.c b/svr-main.c
index 52ac9ff..b411799 100644
--- a/svr-main.c
+++ b/svr-main.c
@@ -417,7 +417,7 @@ static size_t listensockets(int *socks, size_t sockcount, int *maxfd) {
TRACE(("listening on '%s:%s'", svr_opts.addresses[i], svr_opts.ports[i]))
- nsock = dropbear_listen(svr_opts.addresses[i], svr_opts.ports[i], &socks[sockpos],
+ nsock = dropbear_listen(svr_opts.addresses[i], svr_opts.ports[i], svr_opts.devices[i], &socks[sockpos],
sockcount - sockpos,
&errstring, maxfd);