From e03b7d30d59637739b7b7621a4675a87e51b8c74 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 29 Jan 2005 02:18:01 +0000 Subject: r5077: Use correct type for rr record on negative name query reply. Jeremy. (This used to be commit 86c5548d272c0804c0188ae744ae1bb17eb817f6) --- source3/nmbd/nmbd_packets.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/nmbd') diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c index 70ea087426c..f6d267c8f11 100644 --- a/source3/nmbd/nmbd_packets.c +++ b/source3/nmbd/nmbd_packets.c @@ -891,6 +891,9 @@ void reply_netbios_packet(struct packet_struct *orig_packet, packet_type = "nmb_query"; nmb->header.nm_flags.recursion_desired = True; nmb->header.nm_flags.recursion_available = True; + if (rcode) { + use_null_rr_type = True; + } break; case NMB_REG: case NMB_REG_REFRESH: -- cgit