diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2019-01-03 14:43:01 +0100 |
---|---|---|
committer | Eugene Syromyatnikov <evgsyr@gmail.com> | 2019-01-03 14:43:01 +0100 |
commit | 87a791897aa88132a148265aa6aa6b61d073bf61 (patch) | |
tree | 09990988fd6c8eaac6a8990629566b616021e5ae | |
parent | 82970fec4d353d7c0f72832d0803b199762858e7 (diff) | |
download | strace-87a791897aa88132a148265aa6aa6b61d073bf61.tar.gz |
rtnl_neigh: decode NDA_SRC_VNI attribute as u32
VXLAN Network Identifier (VNI) is an unsigned 32-bit value which
is provided via netlink in the CPU byte order.
* rtnl_neigh.c (ndmsg_nla_decoders) <[NDA_SRC_VNI]>: Decode as u32.
-rw-r--r-- | rtnl_neigh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtnl_neigh.c b/rtnl_neigh.c index 310877484..5a0b3641c 100644 --- a/rtnl_neigh.c +++ b/rtnl_neigh.c @@ -87,7 +87,7 @@ static const nla_decoder_t ndmsg_nla_decoders[] = { [NDA_IFINDEX] = decode_nla_ifindex, [NDA_MASTER] = decode_nla_ifindex, [NDA_LINK_NETNSID] = decode_nla_u32, - [NDA_SRC_VNI] = NULL, + [NDA_SRC_VNI] = decode_nla_u32, }; DECL_NETLINK_ROUTE_DECODER(decode_ndmsg) |