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
1573a514
Commit
1573a514
authored
Jun 01, 2017
by
Christian Brauner
Committed by
GitHub
Jun 01, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1607 from ss1h2a3tw/master
adding warning for mtu ignoring
parents
03931c9e
72ccbbe1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
conf.c
src/lxc/conf.c
+2
-0
No files found.
src/lxc/conf.c
View file @
1573a514
...
@@ -3351,6 +3351,8 @@ int lxc_assign_network(const char *lxcpath, char *lxcname,
...
@@ -3351,6 +3351,8 @@ int lxc_assign_network(const char *lxcpath, char *lxcname,
netdev
=
iterator
->
elem
;
netdev
=
iterator
->
elem
;
if
(
netdev
->
type
==
LXC_NET_VETH
&&
!
am_root
)
{
if
(
netdev
->
type
==
LXC_NET_VETH
&&
!
am_root
)
{
if
(
netdev
->
mtu
)
INFO
(
"mtu ignored due to insufficient privilege"
);
if
(
unpriv_assign_nic
(
lxcpath
,
lxcname
,
netdev
,
pid
))
if
(
unpriv_assign_nic
(
lxcpath
,
lxcname
,
netdev
,
pid
))
return
-
1
;
return
-
1
;
// lxc-user-nic has moved the nic to the new ns.
// lxc-user-nic has moved the nic to the new ns.
...
...
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