mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r5196: fixed sily bug (that metze found)
(This used to be commit 180f29f9e0
)
This commit is contained in:
parent
0798d54b4f
commit
dc35a0eb4f
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user