Re: [PATCH iproute2] ip: IFLA_NEW_NETNSID/IFLA_NEW_IFINDEX support
From: Nicolas Dichtel <hidden>
Date: 2018-06-01 15:02:22
From: Nicolas Dichtel <hidden>
Date: 2018-06-01 15:02:22
Le 31/05/2018 à 17:51, Nicolas Dichtel a écrit :
Le 31/05/2018 à 17:46, Stephen Hemminger a écrit :quoted
On Thu, 31 May 2018 16:28:48 +0200[snip]quoted
This makes sense. All of linkinfo that is present should be displayed. Both netns and ifindex are really unsigned values. Use __u32 and print_uint.Ok.
I replied a bit quickly, both are signed values: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/core/rtnetlink.c#n1621 Regards, Nicolas