summaryrefslogtreecommitdiff
path: root/source4/libcli/resolve/resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/resolve/resolve.c')
-rw-r--r--source4/libcli/resolve/resolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/resolve/resolve.c b/source4/libcli/resolve/resolve.c
index 2b14591d68..dbc4a2ede7 100644
--- a/source4/libcli/resolve/resolve.c
+++ b/source4/libcli/resolve/resolve.c
@@ -166,7 +166,7 @@ struct composite_context *resolve_name_send(struct resolve_context *ctx,
state->method = ctx->methods;
if (state->method == NULL) {
- composite_error(c, NT_STATUS_HOST_UNREACHABLE);
+ composite_error(c, NT_STATUS_BAD_NETWORK_NAME);
return c;
}
state->creq = setup_next_method(c);