summaryrefslogtreecommitdiff
path: root/source4/nbt_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/nbt_server')
-rw-r--r--source4/nbt_server/interfaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nbt_server/interfaces.c b/source4/nbt_server/interfaces.c
index be1773e91e..312d188d49 100644
--- a/source4/nbt_server/interfaces.c
+++ b/source4/nbt_server/interfaces.c
@@ -91,7 +91,7 @@ static NTSTATUS nbt_add_socket(struct nbt_server *nbtsrv,
if (strcmp(netmask, "0.0.0.0") != 0) {
bcast_nbtsock = nbt_name_socket_init(iface, nbtsrv->task->event_ctx);
- NT_STATUS_HAVE_NO_MEMORY(iface->ip_address);
+ NT_STATUS_HAVE_NO_MEMORY(bcast_nbtsock);
status = socket_listen(bcast_nbtsock->sock, bcast, lp_nbt_port(), 0, 0);
if (!NT_STATUS_IS_OK(status)) {