diff options
author | Ralf Haferkamp <rhafer@suse.com> | 2020-07-03 11:35:52 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2021-03-24 07:43:48 -0400 |
commit | ddc9794b573a59c75a871d76d0e9f2352b5dee84 (patch) | |
tree | 8776bb539c2a4e96baf9efc86ce65befd12626c6 | |
parent | ba8a973244be0bfa969f4f0f1ba1f88b0905c6f3 (diff) |
[PATCH] Fix config_from_options() to correctly enable ipv6archive/debian/1.0.1-2
Signed-off-by: Ralf Haferkamp <rhafer@suse.com>
Gbp-Pq: Name ipv6.patch
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -680,7 +680,7 @@ static int slirp4netns_config_from_options(struct slirp4netns_config *cfg, if (rc < 0) { goto finish; } - cfg->enable_ipv6 = cfg->enable_ipv6; + cfg->enable_ipv6 = opt->enable_ipv6; cfg->disable_host_loopback = opt->disable_host_loopback; cfg->enable_sandbox = opt->enable_sandbox; cfg->enable_seccomp = opt->enable_seccomp; |