]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - proxy.c
Implement `portfwd-loopback-choice'. Works on local side in Unix as
[PuTTY.git] / proxy.c
diff --git a/proxy.c b/proxy.c
index 475dc4a508d2f8389b183fc4a2856830641bbb81..83bb19f8f2fa84f12bcc0fa79ae0915be84f5456 100644 (file)
--- a/proxy.c
+++ b/proxy.c
@@ -404,13 +404,13 @@ Socket new_connection(SockAddr addr, char *hostname,
     return sk_new(addr, port, privport, oobinline, nodelay, plug);
 }
 
-Socket new_listener(int port, Plug plug, int local_host_only)
+Socket new_listener(char *srcaddr, int port, Plug plug, int local_host_only)
 {
     /* TODO: SOCKS (and potentially others) support inbound
      * TODO: connections via the proxy. support them.
      */
 
-    return sk_newlistener(port, plug, local_host_only);
+    return sk_newlistener(srcaddr, port, plug, local_host_only);
 }
 
 /* ----------------------------------------------------------------------