From: Christian Brauner Date: Mon, 27 Nov 2017 11:28:44 +0000 (+0100) Subject: criu: detect veth name X-Git-Tag: lxc-2.0.10~552 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84c29b842621c6042e7ce4c8529ef0b57af313fc;p=thirdparty%2Flxc.git criu: detect veth name Signed-off-by: Christian Brauner Signed-off-by: Adrian Reber --- diff --git a/src/lxc/criu.c b/src/lxc/criu.c index 005e46c31..8447cd37c 100644 --- a/src/lxc/criu.c +++ b/src/lxc/criu.c @@ -563,6 +563,8 @@ static void exec_criu(struct criu_opts *opts) switch (n->type) { case LXC_NET_VETH: veth = n->priv.veth_attr.pair; + if (veth[0] == '\0') + veth = n->priv.veth_attr.veth1; if (n->link[0] != '\0') { if (external_not_veth)