summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-06-17 11:08:41 +0200
committerAtomic Bot <atomic-devel@projectatomic.io>2018-06-17 21:21:27 +0000
commit9e134576e8eb047466706fa71a201def6d5d8159 (patch)
treeb5f84ff12098dec681b217ae15cc28baffaef484 /pkg
parentfc5e3706e9b9f81d5ce75e3013488dc23cb6558d (diff)
downloadpodman-9e134576e8eb047466706fa71a201def6d5d8159.tar.gz
podman-9e134576e8eb047466706fa71a201def6d5d8159.tar.bz2
podman-9e134576e8eb047466706fa71a201def6d5d8159.zip
Add more network info ipv4/ipv6 and be more compatible with docker
Signed-off-by: Wim <wim@42.be> Closes: #953 Approved by: mheon
Diffstat (limited to 'pkg')
-rw-r--r--pkg/inspect/inspect.go4
1 files changed, 2 insertions, 2 deletions
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"`