Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
portmap: fix checkPorts result when chain does not exist
checkPorts would return nil rather than an error if the per-container DNAT chain didn't exist, meaning CHECK would erroneously return success rather than failure. chain.check() already (correctly) checks that the chain exists, so there's no need to do it separately before calling that anyway.
- Loading branch information