diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net.c | 2 | ||||
-rw-r--r-- | source3/utils/smbcacls.c | 2 | ||||
-rw-r--r-- | source3/utils/smbcquotas.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index fb82e76591..2390e5842c 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -1012,7 +1012,7 @@ static struct functable net_func[] = { TALLOC_CTX *frame = talloc_stackframe(); - zero_addr(&opt_dest_ip, AF_INET); + zero_addr(&opt_dest_ip); load_case_tables(); diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index d5bf9b96e6..9af2294f54 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -769,7 +769,7 @@ static struct cli_state *connect_one(const char *share) struct cli_state *c; struct sockaddr_storage ss; NTSTATUS nt_status; - zero_addr(&ss, AF_INET); + zero_addr(&ss); if (!cmdline_auth_info.got_pass) { char *pass = getpass("Password: "); diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c index f185caa50f..ae793c28f9 100644 --- a/source3/utils/smbcquotas.c +++ b/source3/utils/smbcquotas.c @@ -361,7 +361,7 @@ static struct cli_state *connect_one(const char *share) struct cli_state *c; struct sockaddr_storage ss; NTSTATUS nt_status; - zero_addr(&ss, AF_INET); + zero_addr(&ss); if (!cmdline_auth_info.got_pass) { char *pass = getpass("Password: "); |