summaryrefslogtreecommitdiffstats
path: root/source/client/smbmount.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-27 12:51:38 -0700
committerJeremy Allison <jra@samba.org>2007-10-27 12:51:38 -0700
commit9f82a5766968dc72db5a86ad0afc71e8cffd5be0 (patch)
treef7e53ba50ec2d36b258f63f15b17033dc8d860a7 /source/client/smbmount.c
parente17d3e10e860c96b6d5208e5fe51e43b8e58c174 (diff)
downloadsamba-9f82a5766968dc72db5a86ad0afc71e8cffd5be0.tar.gz
samba-9f82a5766968dc72db5a86ad0afc71e8cffd5be0.tar.xz
samba-9f82a5766968dc72db5a86ad0afc71e8cffd5be0.zip
Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET)
from Volker's patch. Jeremy.
Diffstat (limited to 'source/client/smbmount.c')
-rw-r--r--source/client/smbmount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/smbmount.c b/source/client/smbmount.c
index 7636adb2a72..0c57c405cf8 100644
--- a/source/client/smbmount.c
+++ b/source/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 */