From c7a7c08db5e998c8e698a11d3ec209b2744763da Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 27 Oct 2007 12:51:38 -0700 Subject: Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET) from Volker's patch. Jeremy. (This used to be commit 9f82a5766968dc72db5a86ad0afc71e8cffd5be0) --- source3/client/smbmount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/client/smbmount.c b/source3/client/smbmount.c index 7636adb2a7..0c57c405cf 100644 --- a/source3/client/smbmount.c +++ b/source3/client/smbmount.c @@ -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 */ -- cgit