diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-07-15 15:21:30 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-07-22 19:41:42 +0200 |
commit | 181efaa3fa24ad9c6e758ba0d7db67185eb98df0 (patch) | |
tree | fb2abb51e768a46e1c184826f491f946696e3c3f /util.h | |
parent | a47ac6160b37d2f80670e8d146ce24af5a52e077 (diff) | |
download | passt-181efaa3fa24ad9c6e758ba0d7db67185eb98df0.tar passt-181efaa3fa24ad9c6e758ba0d7db67185eb98df0.tar.gz passt-181efaa3fa24ad9c6e758ba0d7db67185eb98df0.tar.bz2 passt-181efaa3fa24ad9c6e758ba0d7db67185eb98df0.tar.lz passt-181efaa3fa24ad9c6e758ba0d7db67185eb98df0.tar.xz passt-181efaa3fa24ad9c6e758ba0d7db67185eb98df0.tar.zst passt-181efaa3fa24ad9c6e758ba0d7db67185eb98df0.zip |
tests: Correctly handle domain search list in dhclient-script
Currently our small custom dhclient-script only handles the 'domain-name'
option, which can just list a single domain, not the 'domain-search'
option, which can handle several. Correct it to handle both.
We also weren't emptying the resolv.conf file before we began, which
could lead to surprising contents after multiple DHCP transactions.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions