summaryrefslogtreecommitdiff
path: root/pkg/network
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-02-27 14:39:31 -0600
committerBrent Baude <bbaude@redhat.com>2020-02-27 14:39:31 -0600
commit6c97e0d5c140d587e5477d478159e91b8adcfd15 (patch)
treedea981c058a406275feeca97fe08cf8b84da55ef /pkg/network
parentcfd40608907b653a8b05f2e4f4243f8aa677b6e3 (diff)
downloadpodman-6c97e0d5c140d587e5477d478159e91b8adcfd15.tar.gz
podman-6c97e0d5c140d587e5477d478159e91b8adcfd15.tar.bz2
podman-6c97e0d5c140d587e5477d478159e91b8adcfd15.zip
network create should use firewall plugin
when creating a network, podman should add the firewall plugin to the config but not specify a backend. this will allow cni to determine whether it should use an iptables|firewalld backend. Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/network')
-rw-r--r--pkg/network/netconflist.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/network/netconflist.go b/pkg/network/netconflist.go
index a8217097a..34ff00024 100644
--- a/pkg/network/netconflist.go
+++ b/pkg/network/netconflist.go
@@ -110,7 +110,6 @@ func NewPortMapPlugin() PortMapConfig {
func NewFirewallPlugin() FirewallConfig {
return FirewallConfig{
PluginType: "firewall",
- Backend: "iptables",
}
}