We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a543cbc + 4ff2e35 commit 6de032eCopy full SHA for 6de032e
1 file changed
drivers/bridge/bridge.go
@@ -779,13 +779,13 @@ func (d *driver) createNetwork(config *networkConfiguration) (err error) {
779
{d.config.EnableIPTables, network.setupIP4Tables},
780
781
// Setup IP6Tables.
782
- {d.config.EnableIP6Tables, network.setupIP6Tables},
+ {config.EnableIPv6 && d.config.EnableIP6Tables, network.setupIP6Tables},
783
784
//We want to track firewalld configuration so that
785
//if it is started/reloaded, the rules can be applied correctly
786
{d.config.EnableIPTables, network.setupFirewalld},
787
// same for IPv6
788
- {d.config.EnableIP6Tables, network.setupFirewalld6},
+ {config.EnableIPv6 && d.config.EnableIP6Tables, network.setupFirewalld6},
789
790
// Setup DefaultGatewayIPv4
791
{config.DefaultGatewayIPv4 != nil, setupGatewayIPv4},
0 commit comments