rtnl_route: decode new RTA_* attributes
* rtnl_route.c (rtmsg_nla_decoders): Add entries for RTA_IP_PROTO, RTA_SPORT, and RTA_DPORT.
This commit is contained in:
parent
e9e2dec950
commit
dad8828327
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user