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
8a9a1a02
Unverified
Commit
8a9a1a02
authored
Apr 26, 2019
by
tomponline
Committed by
Christian Brauner
May 18, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: Fixes a little typo in an error message
Signed-off-by:
tomponline
<
thomas.parrott@canonical.com
>
parent
1e9963ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
network.c
src/lxc/network.c
+1
-1
No files found.
src/lxc/network.c
View file @
8a9a1a02
...
@@ -2974,7 +2974,7 @@ static int lxc_setup_netdev_in_child_namespaces(struct lxc_netdev *netdev)
...
@@ -2974,7 +2974,7 @@ static int lxc_setup_netdev_in_child_namespaces(struct lxc_netdev *netdev)
if
(
netdev
->
ipv4_gateway_auto
)
{
if
(
netdev
->
ipv4_gateway_auto
)
{
char
buf
[
INET_ADDRSTRLEN
];
char
buf
[
INET_ADDRSTRLEN
];
inet_ntop
(
AF_INET
,
netdev
->
ipv4_gateway
,
buf
,
sizeof
(
buf
));
inet_ntop
(
AF_INET
,
netdev
->
ipv4_gateway
,
buf
,
sizeof
(
buf
));
ERROR
(
"
F
ried to set autodetected ipv4 gateway
\"
%s
\"
"
,
buf
);
ERROR
(
"
T
ried to set autodetected ipv4 gateway
\"
%s
\"
"
,
buf
);
}
}
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