First cut toward adding WINS server failover.
[tprouty/samba.git] / source / nsswitch / wins.c
index f8a05a9fbf20c79383ca9ce8a3035c5993c74b10..41b71c64bbd73f47973f36239bf60d9a2ddd62a6 100644 (file)
@@ -56,7 +56,7 @@ struct in_addr *lookup_backend(const char *name, int *count)
 
        set_socket_options(fd,"SO_BROADCAST");
 
 
        set_socket_options(fd,"SO_BROADCAST");
 
-       p = lp_wins_server();
+       p = wins_srv();
        if (p && *p) {
                ret = name_query(fd,name,0x20,False,True, *interpret_addr2(p), count);
                goto out;
        if (p && *p) {
                ret = name_query(fd,name,0x20,False,True, *interpret_addr2(p), count);
                goto out;