1
0
mirror of https://passt.top/passt synced 2024-07-06 17:56:15 +00:00
passt/test/dhcp
David Gibson a47ac6160b tests: Handle the case of a nameserver on host localhost
We previously introduced a change to passt to handle the case where the
host machine is its own nameserver - so resolv.conf points to 127.0.0.1.
In this case we advertize the gateway as the DNS server for the guest,
which in turn will be redirected back to the host by existing passt logic.

The dhcp/passt doesn't handle this case correctly, so add some logic to
account for it.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2022-07-22 19:41:42 +02:00
..
passt tests: Handle the case of a nameserver on host localhost 2022-07-22 19:41:42 +02:00
pasta tests: Explicitly list test files in test/run, remove "onlyfor" support 2022-07-14 01:32:42 +02:00