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
82c3a0dc
Commit
82c3a0dc
authored
Jun 27, 2017
by
0x0916
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
confile: update comment: replace p+12 with p+8
Signed-off-by:
0x0916
<
w@laoqinren.net
>
parent
7fa3f2e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
confile.c
src/lxc/confile.c
+2
-2
No files found.
src/lxc/confile.c
View file @
82c3a0dc
...
...
@@ -401,7 +401,7 @@ static int set_config_net_type(const char *key, const char *value,
}
/*
* If you have p="lxc.net.0.link", pass it p+
12
* If you have p="lxc.net.0.link", pass it p+
8
* to get back '0' (the index of the nic).
*/
static
int
get_network_netdev_idx
(
const
char
*
key
)
...
...
@@ -419,7 +419,7 @@ static int get_network_netdev_idx(const char *key)
}
/*
* If you have p="lxc.net.0", pass this p+
12
and it will return
* If you have p="lxc.net.0", pass this p+
8
and it will return
* the netdev of the first configured nic.
*/
static
struct
lxc_netdev
*
get_netdev_from_key
(
const
char
*
key
,
...
...
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