diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-12-14 17:49:41 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-12-14 17:49:41 +0000 |
commit | 111245cd734a8a4a51a8e33c1cc2faed32f46d5e (patch) | |
tree | f4077c2a3768d558967d320612de27d15b2e86ee /source3 | |
parent | edc0554f7cf96fb9a78a2cb4ca23f1f4c8dc8f74 (diff) | |
download | samba-111245cd734a8a4a51a8e33c1cc2faed32f46d5e.tar.gz samba-111245cd734a8a4a51a8e33c1cc2faed32f46d5e.tar.bz2 samba-111245cd734a8a4a51a8e33c1cc2faed32f46d5e.zip |
allow name_type 0x20 as well as name_type 0x0 in dns proxying
(This used to be commit be8a40487c128947cead19a43cf2f983e9543305)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nmbd/nmbd_winsserver.c | 3 |
1 files changed, 2 insertions, 1 deletions
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", |