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
95d4c1c4
Unverified
Commit
95d4c1c4
authored
Apr 22, 2020
by
Christian Brauner
Committed by
GitHub
Apr 22, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3392 from tomponline/tp-ipvlan-netlink
src/lxc/network: Fixes netlink attribute type 1 has an invalid length message
parents
1bfaf96f
3a934e2e
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 @
95d4c1c4
...
...
@@ -586,7 +586,7 @@ static int lxc_ipvlan_create(const char *master, const char *name, int mode, int
if
(
!
nest2
)
return
ret_errno
(
EPROTO
);
if
(
nla_put_u
32
(
nlmsg
,
IFLA_IPVLAN_MODE
,
mode
))
if
(
nla_put_u
16
(
nlmsg
,
IFLA_IPVLAN_MODE
,
mode
))
return
ret_errno
(
EPROTO
);
/* if_link.h does not define the isolation flag value for bridge mode (unlike IPVLAN_F_PRIVATE and
...
...
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