drivers/bridge: format comments
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
da0a006b14
commit
76640e5d39
1 changed files with 3 additions and 3 deletions
|
@ -773,8 +773,8 @@ func (d *driver) createNetwork(config *networkConfiguration) (err error) {
|
|||
// Setup IP6Tables.
|
||||
{config.EnableIPv6 && d.config.EnableIP6Tables, network.setupIP6Tables},
|
||||
|
||||
//We want to track firewalld configuration so that
|
||||
//if it is started/reloaded, the rules can be applied correctly
|
||||
// We want to track firewalld configuration so that
|
||||
// if it is started/reloaded, the rules can be applied correctly
|
||||
{d.config.EnableIPTables, network.setupFirewalld},
|
||||
// same for IPv6
|
||||
{config.EnableIPv6 && d.config.EnableIP6Tables, network.setupFirewalld6},
|
||||
|
@ -788,7 +788,7 @@ func (d *driver) createNetwork(config *networkConfiguration) (err error) {
|
|||
// Add inter-network communication rules.
|
||||
{d.config.EnableIPTables, setupNetworkIsolationRules},
|
||||
|
||||
//Configure bridge networking filtering if ICC is off and IP tables are enabled
|
||||
// Configure bridge networking filtering if ICC is off and IP tables are enabled
|
||||
{!config.EnableICC && d.config.EnableIPTables, setupBridgeNetFiltering},
|
||||
} {
|
||||
if step.Condition {
|
||||
|
|
Loading…
Reference in a new issue