diff svr-main.c @ 258:306499676384

* add -g (dbclient) and -a (dropbear) options for allowing non-local hosts to connect to forwarded ports. Rearranged various some of the tcp listening code. * changed to /* */ style brackets in svr-authpam.c
author Matt Johnston <matt@ucc.asn.au>
date Sun, 04 Dec 2005 16:13:11 +0000
parents c5d3ef11155f
children 3be7ae2e8dfa 044bc108b9b3 740e782679be
line wrap: on
line diff
--- a/svr-main.c	Wed Nov 30 10:11:24 2005 +0000
+++ b/svr-main.c	Sun Dec 04 16:13:11 2005 +0000
@@ -375,7 +375,7 @@
 
 		TRACE(("listening on '%s'", svr_opts.ports[i]))
 
-		nsock = dropbear_listen(NULL, svr_opts.ports[i], &sock[sockpos], 
+		nsock = dropbear_listen("", svr_opts.ports[i], &sock[sockpos], 
 				sockcount - sockpos,
 				&errstring, maxfd);