criu: detect veth name

parent 3ee26d19
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment