2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 13:42:19 +00:00

c/r: drop duplicate hunk from macvlan case

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
This commit is contained in:
Tycho Andersen 2016-10-24 16:55:27 -06:00
parent e269733002
commit f0b458e105

View File

@ -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;