Commit 4d411134 by Tycho Andersen Committed by Stéphane Graber

c/r: drop duplicate hunk from macvlan case

parent 9e747ddb
......@@ -458,13 +458,6 @@ static void exec_criu(struct criu_opts *opts)
goto err;
break;
case LXC_NET_MACVLAN:
if (n->name) {
if (strlen(n->name) >= sizeof(eth))
goto err;
strncpy(eth, n->name, sizeof(eth));
} else
sprintf(eth, "eth%d", netnr);
if (!n->link) {
ERROR("no host interface for macvlan %s\n", n->name);
goto err;
......
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