diff options
author | 5eraph <5eraph@protonmail.com> | 2020-03-21 10:48:40 +0100 |
---|---|---|
committer | 5eraph <5eraph@protonmail.com> | 2020-03-23 20:10:08 +0100 |
commit | 1021b0dc38d39f1dc95a296fe3e05a24a087cdc6 (patch) | |
tree | a04e127d4393337bd4fe0abb93dd2d8f4465add4 /src/slirp.h | |
parent | 99e9d4d9e6695d2f41b178d6ae03aaba842fb562 (diff) | |
download | slirp-1021b0dc38d39f1dc95a296fe3e05a24a087cdc6.zip slirp-1021b0dc38d39f1dc95a296fe3e05a24a087cdc6.tar.gz slirp-1021b0dc38d39f1dc95a296fe3e05a24a087cdc6.tar.bz2 |
disable_dns option
Fixes #16
Signed-off-by: 5eraph <5eraph@protonmail.com>
Diffstat (limited to 'src/slirp.h')
-rw-r--r-- | src/slirp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slirp.h b/src/slirp.h index 32634bc..47d861b 100644 --- a/src/slirp.h +++ b/src/slirp.h @@ -202,6 +202,7 @@ struct Slirp { struct sockaddr_in *outbound_addr; struct sockaddr_in6 *outbound_addr6; + bool disable_dns; /* slirp will not redirect/serve any DNS packet */ }; void if_start(Slirp *); |