summaryrefslogtreecommitdiff
path: root/source4/torture/nbt/nbt.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/nbt/nbt.c')
-rw-r--r--source4/torture/nbt/nbt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/nbt/nbt.c b/source4/torture/nbt/nbt.c
index 422261884f..7d35fc856a 100644
--- a/source4/torture/nbt/nbt.c
+++ b/source4/torture/nbt/nbt.c
@@ -25,6 +25,11 @@
#include "libcli/resolve/resolve.h"
#include "param/param.h"
+struct nbt_name_socket *torture_init_nbt_socket(struct torture_context *tctx)
+{
+ return nbt_name_socket_init(tctx, tctx->ev, lp_iconv_convenience(tctx->lp_ctx));
+}
+
bool torture_nbt_get_name(struct torture_context *tctx,
struct nbt_name *name,
const char **address)