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
930cb700
Unverified
Commit
930cb700
authored
Oct 30, 2018
by
Josh Soref
Committed by
Christian Brauner
Nov 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spelling: ifindices
Signed-off-by:
Josh Soref
<
jsoref@gmail.com
>
parent
011112a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
lxc_user_nic.c
src/lxc/cmd/lxc_user_nic.c
+1
-1
network.c
src/lxc/network.c
+3
-3
start.c
src/lxc/start.c
+1
-1
No files found.
src/lxc/cmd/lxc_user_nic.c
View file @
930cb700
...
...
@@ -1319,7 +1319,7 @@ int main(int argc, char *argv[])
_exit
(
EXIT_FAILURE
);
}
/* Write names of veth pairs and their ifind
e
ces to stout:
/* Write names of veth pairs and their ifind
i
ces to stout:
* (e.g. eth0:731:veth9MT2L4:730)
*/
fprintf
(
stdout
,
"%s:%d:%s:%d
\n
"
,
newname
,
container_veth_ifidx
,
nicname
,
...
...
src/lxc/network.c
View file @
930cb700
...
...
@@ -2421,7 +2421,7 @@ bool lxc_delete_network_unpriv(struct lxc_handler *handler)
netdev
->
link
);
clear_ifindices:
/* We need to clear any ifind
e
ces we recorded so liblxc won't
/* We need to clear any ifind
i
ces we recorded so liblxc won't
* have cached stale data which would cause it to fail on reboot
* we're we don't re-read the on-disk config file.
*/
...
...
@@ -2632,7 +2632,7 @@ bool lxc_delete_network_priv(struct lxc_handler *handler)
hostveth
,
netdev
->
link
);
clear_ifindices:
/* We need to clear any ifind
e
ces we recorded so liblxc won't
/* We need to clear any ifind
i
ces we recorded so liblxc won't
* have cached stale data which would cause it to fail on reboot
* we're we don't re-read the on-disk config file.
*/
...
...
@@ -3131,7 +3131,7 @@ int lxc_network_send_name_and_ifindex_to_parent(struct lxc_handler *handler)
return
-
1
;
}
TRACE
(
"Sent network device names and ifind
e
ces to parent"
);
TRACE
(
"Sent network device names and ifind
i
ces to parent"
);
return
0
;
}
...
...
src/lxc/start.c
View file @
930cb700
...
...
@@ -1852,7 +1852,7 @@ static int lxc_spawn(struct lxc_handler *handler)
}
/* Now all networks are created, network devices are moved into place,
* and the correct names and ifind
e
ces in the respective namespaces have
* and the correct names and ifind
i
ces in the respective namespaces have
* been recorded. The corresponding structs have now all been filled. So
* log them for debugging purposes.
*/
...
...
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