If there is one interface, and it is configured via dhcp, and the lease
authorrpe <rpe@openbsd.org>
Wed, 21 Feb 2018 19:54:25 +0000 (19:54 +0000)
committerrpe <rpe@openbsd.org>
Wed, 21 Feb 2018 19:54:25 +0000 (19:54 +0000)
commit69d3b5254777d7202449b40d7e1ade89ab1dc859
tree256313b3811c5019cbca8d1cc365dbd77010b649
parentb767b017801a7911c8695888fb3667cbbba30f7b
If there is one interface, and it is configured via dhcp, and the lease
contains both domain-name and domain-search options make sure to use the
first domain-name entry (there might be multiple).

This issue was noticed by Raf Czlonka, thanks for reporting
Discussed with, tested and OK krw
distrib/miniroot/install.sub