summaryrefslogtreecommitdiff
path: root/source3/client
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
commitc7a7c08db5e998c8e698a11d3ec209b2744763da (patch)
tree9e727fce828b406c9421f2fecf40cd22d6f40a94 /source3/client
parenta97b33baad5bbce7e8004346aa3a812ec4f91f0e (diff)
downloadsamba-c7a7c08db5e998c8e698a11d3ec209b2744763da.tar.gz
samba-c7a7c08db5e998c8e698a11d3ec209b2744763da.tar.bz2
samba-c7a7c08db5e998c8e698a11d3ec209b2744763da.zip
Fix zero_addr(&ip, INADDR_ANY); -> zero_addr(&ip, AF_INET)
from Volker's patch. Jeremy. (This used to be commit 9f82a5766968dc72db5a86ad0afc71e8cffd5be0)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/smbmount.c2
1 files changed, 1 insertions, 1 deletions
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 */