summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 607e47cf71..4b1a52992e 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -192,6 +192,7 @@ BOOL net_find_server(unsigned flags, struct in_addr *server_ip, char **server_na
return False;
*server_name = strdup(dc_name);
+ *server_ip = pdc_ip;
}
} else if (flags & NET_FLAGS_DMB) {