mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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.
|
// Setup IP6Tables.
|
||||||
{config.EnableIPv6 && d.config.EnableIP6Tables, network.setupIP6Tables},
|
{config.EnableIPv6 && d.config.EnableIP6Tables, network.setupIP6Tables},
|
||||||
|
|
||||||
//We want to track firewalld configuration so that
|
// We want to track firewalld configuration so that
|
||||||
//if it is started/reloaded, the rules can be applied correctly
|
// if it is started/reloaded, the rules can be applied correctly
|
||||||
{d.config.EnableIPTables, network.setupFirewalld},
|
{d.config.EnableIPTables, network.setupFirewalld},
|
||||||
// same for IPv6
|
// same for IPv6
|
||||||
{config.EnableIPv6 && d.config.EnableIP6Tables, network.setupFirewalld6},
|
{config.EnableIPv6 && d.config.EnableIP6Tables, network.setupFirewalld6},
|
||||||
|
@ -788,7 +788,7 @@ func (d *driver) createNetwork(config *networkConfiguration) (err error) {
|
||||||
// Add inter-network communication rules.
|
// Add inter-network communication rules.
|
||||||
{d.config.EnableIPTables, setupNetworkIsolationRules},
|
{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},
|
{!config.EnableICC && d.config.EnableIPTables, setupBridgeNetFiltering},
|
||||||
} {
|
} {
|
||||||
if step.Condition {
|
if step.Condition {
|
||||||
|
|
Loading…
Reference in a new issue