summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clidgram.c2
-rw-r--r--source3/libsmb/clidgram.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clidgram.c b/source3/libsmb/clidgram.c
index c1b2fd19b0..50bcbd8a04 100644
--- a/source3/libsmb/clidgram.c
+++ b/source3/libsmb/clidgram.c
@@ -198,7 +198,7 @@ bool send_getdc_request(TALLOC_CTX *mem_ctx,
}
bool receive_getdc_response(TALLOC_CTX *mem_ctx,
- struct sockaddr_storage *dc_ss,
+ const struct sockaddr_storage *dc_ss,
const char *domain_name,
int dgm_id,
uint32_t *nt_version,
diff --git a/source3/libsmb/clidgram.h b/source3/libsmb/clidgram.h
index 26c59f450e..7c650a06ca 100644
--- a/source3/libsmb/clidgram.h
+++ b/source3/libsmb/clidgram.h
@@ -10,7 +10,7 @@ bool send_getdc_request(TALLOC_CTX *mem_ctx,
uint32_t nt_version,
int dgm_id);
bool receive_getdc_response(TALLOC_CTX *mem_ctx,
- struct sockaddr_storage *dc_ss,
+ const struct sockaddr_storage *dc_ss,
const char *domain_name,
int dgm_id,
uint32_t *nt_version,