[Patch] [Darwin] Fix DNS handling when multiple domain names are set

Romain GEISSLER romain.geissler at amadeus.com
Mon May 15 14:44:30 PDT 2017


Hi,

This commit here http://git.infradead.org/users/dwmw2/vpnc-scripts.git/commitdiff/6e04e0bbb66c0bf0ae055c0f4e58bea81dbb5c3c?hp=0eea6c5eebc917c3faf27f1bea2482528740d4e8 did break the Darwin handling of DNS search domains when there are several defined. This is due to the fact that in Darwin's scutil "DomainName" shall be a single domain name. As prior to 6e04e0bbb66c0bf0ae055c0f4e58bea81dbb5c3c we set the domain name as the first name of the list, and we keep the full list the search domain names.

(attaching the patch below, I hope the mail client I use (Apple Mail) won't send it in a too cryptic format for the mailing list)

Cheers,
Romain

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Darwin-Fix-DNS-handling-when-multiple-domain-names-a.patch
Type: application/octet-stream
Size: 878 bytes
Desc: 0001-Darwin-Fix-DNS-handling-when-multiple-domain-names-a.patch
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20170515/51a9004c/attachment.obj>


More information about the openconnect-devel mailing list