]> git.ipfire.org Git - thirdparty/samba.git/commit
Fix UDP DNS queries in addns
authorTimur I. Bakeyev <timur@iXsystems.com>
Mon, 11 Jun 2018 20:38:00 +0000 (04:38 +0800)
committerJeremy Allison <jra@samba.org>
Wed, 13 Jun 2018 01:51:04 +0000 (03:51 +0200)
commit83cd68c8ae7e4febbfbabd11172f7a2e2eef4368
tree498812e2c7d145a91e353d20c5f73c055b3c5814
parent454edac226bc87b9e68bc60add4c16f4bab9c275
Fix UDP DNS queries in addns

The addns code tries to use common approach for TCP and UDP queries,
calling connect() for both types of sockets. In case of UDP that
requires to use send() instead of sendto().

Signed-off-by: Timur I. Bakeyev <timur@iXsystems.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jun 13 03:51:04 CEST 2018 on sn-devel-144
lib/addns/dnssock.c