mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
5d9c59e523
- Also unexporting configuration structures in bridge - Changes in dnet/network.go to set bridge name = network name Signed-off-by: Alessandro Boch <aboch@docker.com>
14 lines
371 B
Go
14 lines
371 B
Go
package bridge
|
|
|
|
import (
|
|
log "github.com/Sirupsen/logrus"
|
|
)
|
|
|
|
func setupFixedCIDRv6(config *networkConfiguration, i *bridgeInterface) error {
|
|
log.Debugf("Using IPv6 subnet: %v", config.FixedCIDRv6)
|
|
if err := ipAllocator.RegisterSubnet(config.FixedCIDRv6, config.FixedCIDRv6); err != nil {
|
|
return &FixedCIDRv6Error{Net: config.FixedCIDRv6, Err: err}
|
|
}
|
|
|
|
return nil
|
|
}
|