diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2019-01-03 14:46:58 +0100 |
---|---|---|
committer | Eugene Syromyatnikov <evgsyr@gmail.com> | 2022-09-02 17:55:13 +0200 |
commit | 37f4bd7da76822f98120ef53080e36ee524cbd76 (patch) | |
tree | 3257d44c9820509707d9e32fa3d3d1aae15a5780 | |
parent | c1c7da503d75de9bfbbdd93f9ba33662dd5cecf3 (diff) | |
download | strace-37f4bd7da76822f98120ef53080e36ee524cbd76.tar.gz |
rtnl_neigh: add NDA_PROTOCOL attribute
* xlat/rtnl_neigh_attrs.in (NDA_PROTOCOL): New constant, introduced by
Linux commit v4.20-rc6-1429-gdf9b0e30d44c.
* rtnl_neigh.c (ndmsg_nla_decoders) <[NDA_PROTOCOL]>: Decode as an IP
protocol.
-rw-r--r-- | src/rtnl_neigh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtnl_neigh.c b/src/rtnl_neigh.c index a173ed2d6..ba1518c01 100644 --- a/src/rtnl_neigh.c +++ b/src/rtnl_neigh.c @@ -146,7 +146,7 @@ static const nla_decoder_t ndmsg_nla_decoders[] = { [NDA_MASTER] = decode_nla_ifindex, [NDA_LINK_NETNSID] = decode_nla_u32, [NDA_SRC_VNI] = decode_nla_u32, - [NDA_PROTOCOL] = decode_nla_u8, + [NDA_PROTOCOL] = decode_nla_ip_proto, [NDA_NH_ID] = decode_nla_u32, [NDA_FDB_EXT_ATTRS] = decode_nda_fdb_ext_attrs, [NDA_FLAGS_EXT] = decode_nda_ext_flags, |