From: Tycho Andersen Date: Wed, 12 Oct 2016 23:18:02 +0000 (+0000) Subject: c/r: remember to increment netnr X-Git-Tag: lxc-2.1.0~290^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f3fbc6bf3c41942ea8fe13ba29cc040096981a8;p=thirdparty%2Flxc.git 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 --- 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++; } }