aboutgitcodebugslistschat
path: root/tcp.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-07-15 15:21:29 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-07-22 19:41:42 +0200
commita47ac6160b37d2f80670e8d146ce24af5a52e077 (patch)
tree75abf91d4ab2e643512b07798f37724c1223196f /tcp.c
parent92b341f8d28eceb350a4aa83c970dbbd844012da (diff)
downloadpasst-a47ac6160b37d2f80670e8d146ce24af5a52e077.tar
passt-a47ac6160b37d2f80670e8d146ce24af5a52e077.tar.gz
passt-a47ac6160b37d2f80670e8d146ce24af5a52e077.tar.bz2
passt-a47ac6160b37d2f80670e8d146ce24af5a52e077.tar.lz
passt-a47ac6160b37d2f80670e8d146ce24af5a52e077.tar.xz
passt-a47ac6160b37d2f80670e8d146ce24af5a52e077.tar.zst
passt-a47ac6160b37d2f80670e8d146ce24af5a52e077.zip
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>
Diffstat (limited to 'tcp.c')
0 files changed, 0 insertions, 0 deletions