diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-01-09 07:41:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-09 07:41:47 -0800 |
commit | 7b9d4f1c92a644df612b142183023b265256bdff (patch) | |
tree | 62dcb4fa44d45dc3f3db7fbd8fb2f533ec8e1d44 /libpod/container.go | |
parent | 506108194a137426069263aaa351fa333851190d (diff) | |
parent | 2553dad766afef1ff36d610a95a5f1a22450d5c3 (diff) | |
download | podman-7b9d4f1c92a644df612b142183023b265256bdff.tar.gz podman-7b9d4f1c92a644df612b142183023b265256bdff.tar.bz2 podman-7b9d4f1c92a644df612b142183023b265256bdff.zip |
Merge pull request #2061 from adrianreber/static-ip
Use existing interface to request IP address during restore
Diffstat (limited to 'libpod/container.go')
-rw-r--r-- | libpod/container.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libpod/container.go b/libpod/container.go index 44992c534..d0eb6a992 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -128,6 +128,11 @@ type Container struct { rootlessSlirpSyncR *os.File rootlessSlirpSyncW *os.File + + // A restored container should have the same IP address as before + // being checkpointed. If requestedIP is set it will be used instead + // of config.StaticIP. + requestedIP net.IP } // containerState contains the current state of the container |