Support for doing DNS at the proxy end. I've invented a new type of
[u/mdw/putty] / portfwd.c
index dd8e655..dc865f6 100644 (file)
--- a/portfwd.c
+++ b/portfwd.c
@@ -126,7 +126,7 @@ char *pfd_newconnect(Socket *s, char *hostname, int port, void *c)
     /*
      * Try to find host.
      */
-    addr = sk_namelookup(hostname, &dummy_realhost);
+    addr = name_lookup(hostname, port, &dummy_realhost);
     if ((err = sk_addr_error(addr)))
        return err;