From 9e134576e8eb047466706fa71a201def6d5d8159 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 17 Jun 2018 11:08:41 +0200 Subject: Add more network info ipv4/ipv6 and be more compatible with docker Signed-off-by: Wim Closes: #953 Approved by: mheon --- pkg/inspect/inspect.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/inspect') diff --git a/pkg/inspect/inspect.go b/pkg/inspect/inspect.go index 09ddf488c..765ee43a7 100644 --- a/pkg/inspect/inspect.go +++ b/pkg/inspect/inspect.go @@ -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"` -- cgit v1.2.3-54-g00ecf