From: Dmitry V. Levin Date: Sat, 4 Aug 2018 11:45:20 +0000 (+0000) Subject: rtnl_route: decode new RTA_* attributes X-Git-Tag: v4.24~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dad8828327baa8da55d5c3c9da5af11689868ad5;p=strace rtnl_route: decode new RTA_* attributes * rtnl_route.c (rtmsg_nla_decoders): Add entries for RTA_IP_PROTO, RTA_SPORT, and RTA_DPORT. --- diff --git a/rtnl_route.c b/rtnl_route.c index ec5d69f4..6619b56b 100644 --- a/rtnl_route.c +++ b/rtnl_route.c @@ -248,7 +248,10 @@ static const nla_decoder_t rtmsg_nla_decoders[] = { [RTA_EXPIRES] = decode_nla_u64, [RTA_PAD] = NULL, [RTA_UID] = decode_nla_u32, - [RTA_TTL_PROPAGATE] = decode_nla_u8 + [RTA_TTL_PROPAGATE] = decode_nla_u8, + [RTA_IP_PROTO] = decode_nla_u8, + [RTA_SPORT] = decode_nla_u16, + [RTA_DPORT] = decode_nla_u16 }; static bool