summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-02-03 11:30:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:30 -0500
commitdc35a0eb4f4be294a852073802451fe9ab284b69 (patch)
treef75ed33f3d3ecfb91f4218a3e578bdf3d4b7ee81
parent0798d54b4fc28be881e2c4012663b1461bc85ba7 (diff)
downloadsamba-dc35a0eb4f4be294a852073802451fe9ab284b69.tar.gz
samba-dc35a0eb4f4be294a852073802451fe9ab284b69.tar.xz
samba-dc35a0eb4f4be294a852073802451fe9ab284b69.zip
r5196: fixed sily bug (that metze found)
(This used to be commit 180f29f9e05e75e8ed32d010bc0c57a55ea9d843)
-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)) {