summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go4
1 files changed, 4 insertions, 0 deletions
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