From ba56afde7b544c8168cec34e330f7cd323b03662 Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Fri, 21 Aug 2015 15:59:43 -0700 Subject: [PATCH] Remove hard-coded default for tcp connections Signed-off-by: Michael Crosby --- restore.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.go b/restore.go index a96ff329..1b512799 100644 --- a/restore.go +++ b/restore.go @@ -103,7 +103,7 @@ func criuOptions(context *cli.Context) *libcontainer.CriuOpts { ImagesDirectory: imagePath, WorkDirectory: context.String("work-path"), LeaveRunning: context.Bool("leave-running"), - TcpEstablished: true, // context.Bool("tcp-established"), + TcpEstablished: context.Bool("tcp-established"), ExternalUnixConnections: context.Bool("ext-unix-sk"), ShellJob: context.Bool("shell-job"), FileLocks: context.Bool("file-locks"),