mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
slirp: Support link-local DNS addresses
They look like fe80::%eth0 Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Reviewed-by: Thomas Huth <thuth@redhat.com> --- Changes since last submission: - fix windows build
This commit is contained in:
parent
1d17654e76
commit
ef763fa4bd
3 changed files with 32 additions and 7 deletions
|
@ -7,7 +7,7 @@ struct Slirp;
|
|||
typedef struct Slirp Slirp;
|
||||
|
||||
int get_dns_addr(struct in_addr *pdns_addr);
|
||||
int get_dns6_addr(struct in6_addr *pdns6_addr);
|
||||
int get_dns6_addr(struct in6_addr *pdns6_addr, uint32_t *scope_id);
|
||||
|
||||
Slirp *slirp_init(int restricted, bool in_enabled, struct in_addr vnetwork,
|
||||
struct in_addr vnetmask, struct in_addr vhost,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue