diff options
author | 5eraph <bcervenka@protonmail.com> | 2020-02-12 18:52:23 +0100 |
---|---|---|
committer | 5eraph <bcervenka@protonmail.com> | 2020-03-02 20:17:27 +0100 |
commit | 5eb4fc45dc87717fc9c2e26afb602119006d5dd4 (patch) | |
tree | 25a8e89ede65d0e3de0b6f3915235732e06747b0 /src/slirp.h | |
parent | 296faab4cfd1955bc37fff885985a5b2c0a1fc40 (diff) | |
download | slirp-5eb4fc45dc87717fc9c2e26afb602119006d5dd4.zip slirp-5eb4fc45dc87717fc9c2e26afb602119006d5dd4.tar.gz slirp-5eb4fc45dc87717fc9c2e26afb602119006d5dd4.tar.bz2 |
Use specific outbound IP address
Fixes #14
Signed-off-by: 5eraph <bcervenka@protonmail.com>
Diffstat (limited to 'src/slirp.h')
-rw-r--r-- | src/slirp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slirp.h b/src/slirp.h index a231eb2..32634bc 100644 --- a/src/slirp.h +++ b/src/slirp.h @@ -199,6 +199,9 @@ struct Slirp { const SlirpCb *cb; void *opaque; + + struct sockaddr_in *outbound_addr; + struct sockaddr_in6 *outbound_addr6; }; void if_start(Slirp *); |