diff options
author | Günter Kukkukk <linux@kukkukk.com> | 2007-10-15 01:16:01 +0200 |
---|---|---|
committer | Volker Lendecke <vl@sernet.de> | 2007-10-15 12:31:21 +0200 |
commit | d3a7f49c6f68e740aa42b586efd687c840f963ff (patch) | |
tree | bd043b8b3e862d26d475f0005fef292b93cec1e6 /source3/client/smbctool.c | |
parent | c9165b99e9d04a48cacd416c049c44e46ec5a365 (diff) | |
download | samba-d3a7f49c6f68e740aa42b586efd687c840f963ff.tar.gz samba-d3a7f49c6f68e740aa42b586efd687c840f963ff.tar.bz2 samba-d3a7f49c6f68e740aa42b586efd687c840f963ff.zip |
Latest ipv6 changes broke (deprecated) smbmount, smbmnt and smbctool
In addition some cleanup has been done to avoid compiler warnings.
(This used to be commit 29eb4d0e2d8ce4a0bd2a081265417684c8c69d6d)
Diffstat (limited to 'source3/client/smbctool.c')
-rw-r--r-- | source3/client/smbctool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/smbctool.c b/source3/client/smbctool.c index 28122d8430..4390ee3fc5 100644 --- a/source3/client/smbctool.c +++ b/source3/client/smbctool.c @@ -3485,7 +3485,7 @@ static int do_message_op(void) snprintf(name_type_hex, sizeof(name_type_hex), "#%X", name_type); fstrcat(server_name, name_type_hex); - zero_ip(&ip); + zero_ip_v4(&ip); if (have_ip) ip = dest_ip; @@ -3596,7 +3596,7 @@ static int do_message_op(void) case 'I': { dest_ip = *interpret_addr2(poptGetOptArg(pc)); - if (is_zero_ip(dest_ip)) + if (is_zero_ip_v4(dest_ip)) exit(1); have_ip = True; |