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:
parent
e269733002
commit
f0b458e105
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user