podman-build/libpod/container_freebsd.go
2025-10-11 12:30:35 +09:00

14 lines
230 B
Go

//go:build !remote
package libpod
func networkDisabled(c *Container) (bool, error) {
if c.config.CreateNetNS {
return false, nil
}
if !c.config.PostConfigureNetNS {
return c.state.NetNS != "", nil
}
return false, nil
}