diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_util.c b/source3/utils/net_util.c index fbb3c24b03..a9b2bbe621 100644 --- a/source3/utils/net_util.c +++ b/source3/utils/net_util.c @@ -406,7 +406,7 @@ bool net_find_server(struct net_context *c, return false; } - if (is_zero_addr(&pdc_ss)) { + if (is_zero_addr((struct sockaddr *)&pdc_ss)) { return false; } @@ -463,7 +463,7 @@ bool net_find_pdc(struct sockaddr_storage *server_ss, if (!get_pdc_ip(domain_name, server_ss)) { return false; } - if (is_zero_addr(server_ss)) { + if (is_zero_addr((struct sockaddr *)server_ss)) { return false; } |