summaryrefslogtreecommitdiff
path: root/pkg/network/subnet_test.go
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivan@redhat.com>2020-06-11 13:06:21 +0200
committerGiuseppe Scrivano <gscrivan@redhat.com>2020-06-11 13:06:26 +0200
commit8ef1b461ae4187cc508cc8d9b73d68d04503467f (patch)
treee2fa103a9127d89996eec523c85cc00825409ee4 /pkg/network/subnet_test.go
parent7b85d5c6d272da17bcdb9fb266859c3e5ec8fd09 (diff)
downloadpodman-8ef1b461ae4187cc508cc8d9b73d68d04503467f.tar.gz
podman-8ef1b461ae4187cc508cc8d9b73d68d04503467f.tar.bz2
podman-8ef1b461ae4187cc508cc8d9b73d68d04503467f.zip
libpod: fix check for slirp4netns netns
fix the check for c.state.NetNS == nil. Its value is changed in the first code block, so the condition is always true in the second one and we end up running slirp4netns twice. Closes: https://github.com/containers/libpod/issues/6538 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'pkg/network/subnet_test.go')
0 files changed, 0 insertions, 0 deletions