mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
![Alessandro Boch](/assets/img/avatar_default.png)
- Package types to define the interfaces libnetwork errors may implement, so that caller can categorize them. 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
|
|
}
|