From: Christian Brauner Date: Mon, 27 Nov 2017 11:28:44 +0000 (+0100) Subject: criu: detect veth name X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=367df444e18a068096eb03f3ee632eedafd65ba0;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 96688edc0..2d26f3e76 100644 --- a/src/lxc/criu.c +++ b/src/lxc/criu.c @@ -564,6 +564,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)