From 2f3fbc6bf3c41942ea8fe13ba29cc040096981a8 Mon Sep 17 00:00:00 2001 From: Tycho Andersen Date: Wed, 12 Oct 2016 23:18:02 +0000 Subject: [PATCH] c/r: remember to increment netnr We need this for calculating the name of unnamed interfaces in the config. But we also need to remember to increment it :) Signed-off-by: Tycho Andersen --- src/lxc/criu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lxc/criu.c b/src/lxc/criu.c index 0b5fc0915..84d420956 100644 --- a/src/lxc/criu.c +++ b/src/lxc/criu.c @@ -460,6 +460,7 @@ static void exec_criu(struct criu_opts *opts) DECLARE_ARG("--external"); DECLARE_ARG(buf); + netnr++; } } -- 2.47.3