From 4d3db1b4a9ec1a1a2aa74e3da0102b6017f8a328 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 17 Jun 2018 17:40:39 +0200 Subject: Add MacAddress to inspect Signed-off-by: Wim Closes: #955 Approved by: rhatdan --- libpod/container.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libpod/container.go') diff --git a/libpod/container.go b/libpod/container.go index 26232e5c0..a30a9e006 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -152,6 +152,10 @@ type containerState struct { // Only populated if we created a network namespace for the container, // and the network namespace is currently active IPs []*cnitypes.IPConfig `json:"ipAddresses,omitempty"` + // Interfaces contains interface information about the container + // Only populated if we created a network namespace for the container, + // and the network namespace is currently active + Interfaces []*cnitypes.Interface `json:"interfaces,omitempty"` // Routes contains network routes present in the container // Only populated if we created a network namespace for the container, // and the network namespace is currently active -- cgit v1.2.3-54-g00ecf