diff options
Diffstat (limited to 'source4/nbt_server/query.c')
-rw-r--r-- | source4/nbt_server/query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/nbt_server/query.c b/source4/nbt_server/query.c index 859a9c7f26..9b9d1e29b9 100644 --- a/source4/nbt_server/query.c +++ b/source4/nbt_server/query.c @@ -60,7 +60,7 @@ static void nbt_name_query_reply(struct nbt_name_socket *nbtsock, struct nbt_rdata_address, 1); if (packet->answers[0].rdata.netbios.addresses == NULL) goto failed; packet->answers[0].rdata.netbios.addresses[0].nb_flags = nb_flags; - packet->answers[0].rdata.netbios.addresses[0].ipaddr = htonl(inet_addr(address)); + packet->answers[0].rdata.netbios.addresses[0].ipaddr.addr = htonl(inet_addr(address)); DEBUG(7,("Sending name query reply for %s<%02x> at %s to %s:%d\n", name->name, name->type, src_address, address, src_port)); |