diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-03-20 15:16:21 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-07-03 23:29:13 +0200 |
commit | ef763fa4bd47892d9949dbaf292b032e2fc16475 (patch) | |
tree | ef3d2e2271f1d4c9f1899eff111ab1a48ca8e26b /slirp/libslirp.h | |
parent | 1d17654e762ed1e31bfb16915fd03499c03d2063 (diff) |
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
Diffstat (limited to 'slirp/libslirp.h')
-rw-r--r-- | slirp/libslirp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/libslirp.h b/slirp/libslirp.h index b0cfbc5b0f..b6fc584219 100644 --- a/slirp/libslirp.h +++ b/slirp/libslirp.h @@ -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, |