summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-23 19:50:00 -0700
committerAndrew Tridgell <tridge@samba.org>2010-09-25 10:38:45 -0700
commit805d9425c2ee06e1695e451500d1ffbf90ca8e72 (patch)
tree3bcdb29be6f57fd2cc0b54a9744d00b8c793d683 /source4/libnet/libnet.c
parenta360428588467c29e8eb40b27a9db525d4c2ea96 (diff)
downloadsamba-805d9425c2ee06e1695e451500d1ffbf90ca8e72.tar.gz
samba-805d9425c2ee06e1695e451500d1ffbf90ca8e72.tar.bz2
samba-805d9425c2ee06e1695e451500d1ffbf90ca8e72.zip
s4-libnet: added server_address option in libnet context
this is used by libnet_LookupDCs Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/libnet/libnet.c')
-rw-r--r--source4/libnet/libnet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libnet/libnet.c b/source4/libnet/libnet.c
index 05f18b42a5..53ebb9e34a 100644
--- a/source4/libnet/libnet.c
+++ b/source4/libnet/libnet.c
@@ -55,5 +55,7 @@ struct libnet_context *libnet_context_init(struct tevent_context *ev,
/* default buffer size for various operations requiring specifying a buffer */
ctx->samr.buf_size = 128;
+ ctx->server_address = NULL;
+
return ctx;
}