Merge pull request #912 from aidanhs/aphs-expose-ipv6-default-bridge
Expose the enableIPv6 setting
This commit is contained in:
commit
5286d28a22
1 changed files with 8 additions and 0 deletions
|
@ -62,6 +62,7 @@ type NetworkInfo interface {
|
|||
IpamInfo() ([]*IpamInfo, []*IpamInfo)
|
||||
DriverOptions() map[string]string
|
||||
Scope() string
|
||||
IPv6Enabled() bool
|
||||
Internal() bool
|
||||
}
|
||||
|
||||
|
@ -1237,3 +1238,10 @@ func (n *network) Internal() bool {
|
|||
|
||||
return n.internal
|
||||
}
|
||||
|
||||
func (n *network) IPv6Enabled() bool {
|
||||
n.Lock()
|
||||
defer n.Unlock()
|
||||
|
||||
return n.enableIPv6
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue