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
53796b94
Commit
53796b94
authored
Nov 20, 2019
by
Balázs Póka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix wrong order of bridge/nic in error message
Signed-off-by:
Balázs Póka
<
poka@idata.hu
>
parent
e166e391
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
network.c
src/lxc/network.c
+2
-2
No files found.
src/lxc/network.c
View file @
53796b94
...
@@ -2466,7 +2466,7 @@ int lxc_ovs_delete_port(const char *bridge, const char *nic)
...
@@ -2466,7 +2466,7 @@ int lxc_ovs_delete_port(const char *bridge, const char *nic)
lxc_ovs_delete_port_exec
,
(
void
*
)
&
args
);
lxc_ovs_delete_port_exec
,
(
void
*
)
&
args
);
if
(
ret
<
0
)
{
if
(
ret
<
0
)
{
ERROR
(
"Failed to delete
\"
%s
\"
from openvswitch bridge
\"
%s
\"
: "
ERROR
(
"Failed to delete
\"
%s
\"
from openvswitch bridge
\"
%s
\"
: "
"%s"
,
bridge
,
nic
,
cmd_output
);
"%s"
,
nic
,
bridge
,
cmd_output
);
return
-
1
;
return
-
1
;
}
}
...
@@ -2494,7 +2494,7 @@ static int lxc_ovs_attach_bridge(const char *bridge, const char *nic)
...
@@ -2494,7 +2494,7 @@ static int lxc_ovs_attach_bridge(const char *bridge, const char *nic)
lxc_ovs_attach_bridge_exec
,
(
void
*
)
&
args
);
lxc_ovs_attach_bridge_exec
,
(
void
*
)
&
args
);
if
(
ret
<
0
)
{
if
(
ret
<
0
)
{
ERROR
(
"Failed to attach
\"
%s
\"
to openvswitch bridge
\"
%s
\"
: %s"
,
ERROR
(
"Failed to attach
\"
%s
\"
to openvswitch bridge
\"
%s
\"
: %s"
,
bridge
,
nic
,
cmd_output
);
nic
,
bridge
,
cmd_output
);
return
-
1
;
return
-
1
;
}
}
...
...
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