Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
0f90d613
Commit
0f90d613
authored
Oct 12, 2016
by
Tycho Andersen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
c/r: use --external instead of --veth-pair
--veth-pair has been deprecated as of 2.6, let's use the new --external instead. Signed-off-by:
Tycho Andersen
<
tycho.andersen@canonical.com
>
parent
7fd5ab2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
criu.c
src/lxc/criu.c
+3
-3
No files found.
src/lxc/criu.c
View file @
0f90d613
...
@@ -452,13 +452,13 @@ static void exec_criu(struct criu_opts *opts)
...
@@ -452,13 +452,13 @@ static void exec_criu(struct criu_opts *opts)
veth
=
n
->
priv
.
veth_attr
.
pair
;
veth
=
n
->
priv
.
veth_attr
.
pair
;
if
(
n
->
link
)
if
(
n
->
link
)
ret
=
snprintf
(
buf
,
sizeof
(
buf
),
"
%s=
%s@%s"
,
eth
,
veth
,
n
->
link
);
ret
=
snprintf
(
buf
,
sizeof
(
buf
),
"
veth[%s]:
%s@%s"
,
eth
,
veth
,
n
->
link
);
else
else
ret
=
snprintf
(
buf
,
sizeof
(
buf
),
"
%s=
%s"
,
eth
,
veth
);
ret
=
snprintf
(
buf
,
sizeof
(
buf
),
"
veth[%s]:
%s"
,
eth
,
veth
);
if
(
ret
<
0
||
ret
>=
sizeof
(
buf
))
if
(
ret
<
0
||
ret
>=
sizeof
(
buf
))
goto
err
;
goto
err
;
DECLARE_ARG
(
"--
veth-pair
"
);
DECLARE_ARG
(
"--
external
"
);
DECLARE_ARG
(
buf
);
DECLARE_ARG
(
buf
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment