mirror of
https://github.com/docker/cli.git
synced 2026-08-30 10:05:11 -05:00
2781401caa29bedbd650ed06b2485535267e8106
This modifies iptables.Exists so that it must be called with an explicit table and chain. This allows us (a) to generate an appropriate command line for "iptables -C", which was not previously possible, and (b) it allows us to limit our strings.Contains() search to just the table and chain in question, preventing erroneous matches against unrelated rules. Resolves #10781 Signed-off-by: Lars Kellogg-Stedman <lars@redhat.com> Upstream-commit: 3559b4177e611920d87c4dae607c641efb645783 Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%