Add more network info ipv4/ipv6 and be more compatible with docker

Signed-off-by: Wim <wim@42.be>

Closes: #953
Approved by: mheon
This commit is contained in:
Wim
2018-06-17 11:08:41 +02:00
committed by Atomic Bot
parent fc5e3706e9
commit 9e134576e8
2 changed files with 18 additions and 14 deletions

View File

@ -198,9 +198,9 @@ type NetworkSettings struct {
SecondaryIPv6Addresses []string `json:"SecondaryIPv6Addresses"`
EndpointID string `json:"EndpointID"`
Gateway string `json:"Gateway"`
GlobalIPv6Addresses []string `json:"GlobalIPv6Addresses"`
GlobalIPv6Address string `json:"GlobalIPv6Address"`
GlobalIPv6PrefixLen int `json:"GlobalIPv6PrefixLen"`
IPAddress []string `json:"IPAddress"`
IPAddress string `json:"IPAddress"`
IPPrefixLen int `json:"IPPrefixLen"`
IPv6Gateway string `json:"IPv6Gateway"`
MacAddress string `json:"MacAddress"`