diff options
-rw-r--r-- | source4/nbt_server/interfaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nbt_server/interfaces.c b/source4/nbt_server/interfaces.c index 4bc18feb59..0a9196a747 100644 --- a/source4/nbt_server/interfaces.c +++ b/source4/nbt_server/interfaces.c @@ -97,7 +97,7 @@ static void nbtd_unexpected_handler(struct nbt_name_socket *nbtsock, } /* try the wins server client interface */ - if (!req && nbtsrv->wins_interface) { + if (!req && nbtsrv->wins_interface && nbtsrv->wins_interface->nbtsock) { i = nbtsrv->wins_interface; req = idr_find(i->nbtsock->idr, packet->name_trn_id); } |