summaryrefslogtreecommitdiff
path: root/libpod/boltdb_state.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/boltdb_state.go')
-rw-r--r--libpod/boltdb_state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpod/boltdb_state.go b/libpod/boltdb_state.go
index d4a6ea4cb..7db02d533 100644
--- a/libpod/boltdb_state.go
+++ b/libpod/boltdb_state.go
@@ -140,9 +140,9 @@ func (s *BoltState) Refresh() error {
state.Mountpoint = ""
state.Mounted = false
state.State = ContainerStateConfigured
- state.IPAddress = ""
- state.SubnetMask = ""
state.ExecSessions = make(map[string]*ExecSession)
+ state.IPs = nil
+ state.Routes = nil
newStateBytes, err := json.Marshal(state)
if err != nil {