Support for doing DNS at the proxy end. I've invented a new type of
[u/mdw/putty] / x11fwd.c
index c6e3637..35d1d17 100644 (file)
--- a/x11fwd.c
+++ b/x11fwd.c
@@ -177,7 +177,7 @@ char *x11_init(Socket * s, char *display, void *c, void *auth)
     /*
      * Try to find host.
      */
-    addr = sk_namelookup(host, &dummy_realhost);
+    addr = name_lookup(host, port, &dummy_realhost);
     if ((err = sk_addr_error(addr)))
        return err;