mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
e91ed59cb2
types, except the naked error returns which were just prefixing strings to previously returned error strings. Signed-off-by: Jana Radhakrishnan <mrjana@docker.com>
12 lines
359 B
Go
12 lines
359 B
Go
package bridge
|
|
|
|
import log "github.com/Sirupsen/logrus"
|
|
|
|
func setupFixedCIDRv6(config *Configuration, 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
|
|
}
|