diff options
Diffstat (limited to 'source4/nbt_server/query.c')
-rw-r--r-- | source4/nbt_server/query.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/nbt_server/query.c b/source4/nbt_server/query.c index c64ac5986a..1d8a610750 100644 --- a/source4/nbt_server/query.c +++ b/source4/nbt_server/query.c @@ -45,10 +45,10 @@ void nbtd_request_query(struct nbt_name_socket *nbtsock, return; } - NBTD_ASSERT_PACKET(packet, src->addr, packet->qdcount == 1); - NBTD_ASSERT_PACKET(packet, src->addr, + NBTD_ASSERT_PACKET(packet, src, packet->qdcount == 1); + NBTD_ASSERT_PACKET(packet, src, packet->questions[0].question_type == NBT_QTYPE_NETBIOS); - NBTD_ASSERT_PACKET(packet, src->addr, + NBTD_ASSERT_PACKET(packet, src, packet->questions[0].question_class == NBT_QCLASS_IP); /* see if we have the requested name on this interface */ |