Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET)
authorJeremy Allison <jra@samba.org>
Sat, 27 Oct 2007 19:51:38 +0000 (12:51 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 27 Oct 2007 19:51:38 +0000 (12:51 -0700)
from Volker's patch.
Jeremy.
(This used to be commit 9f82a5766968dc72db5a86ad0afc71e8cffd5be0)

source3/client/smbmount.c

index 7636adb2a72bca8fc568d7fc3921d251226e8d8a..0c57c405cf840b2ab4c4bda9ea1b9fda09a600b0 100644 (file)
@@ -146,7 +146,7 @@ static struct cli_state *do_connection(char *the_service)
        make_nmb_name(&called , server, 0x20);
 
  again:
-        zero_addr(&ip, INADDR_ANY);
+        zero_addr(&ip, AF_INET);
        if (have_ip) ip = dest_ip;
 
        /* have to open a new connection */