mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
slirp: Allow disabling IPv4 or IPv6
Add ipv4 and ipv6 boolean options, so the user can setup IPv4-only and IPv6-only network environments. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Reviewed-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
de1d099a44
commit
0b11c03662
9 changed files with 74 additions and 10 deletions
|
@ -180,6 +180,8 @@ struct Slirp {
|
|||
u_int last_slowtimo;
|
||||
bool do_slowtimo;
|
||||
|
||||
bool in_enabled, in6_enabled;
|
||||
|
||||
/* virtual network configuration */
|
||||
struct in_addr vnetwork_addr;
|
||||
struct in_addr vnetwork_mask;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue