From 111245cd734a8a4a51a8e33c1cc2faed32f46d5e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 14 Dec 1997 17:49:41 +0000 Subject: allow name_type 0x20 as well as name_type 0x0 in dns proxying (This used to be commit be8a40487c128947cead19a43cf2f983e9543305) --- source3/nmbd/nmbd_winsserver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c index ba7b62e5ab..bd8febd65d 100644 --- a/source3/nmbd/nmbd_winsserver.c +++ b/source3/nmbd/nmbd_winsserver.c @@ -1338,7 +1338,8 @@ void wins_process_name_query_request(struct subnet_record *subrec, * Name not found in WINS - try a dns query if it's a 0x20 name. */ - if(lp_dns_proxy() && (question->name_type == 0x20)) + if(lp_dns_proxy() && + ((question->name_type == 0x20) || question->name_type == 0)) { DEBUG(3,("wins_process_name_query: name query for name %s not found - doing dns lookup.\n", -- cgit