]> granicus.if.org Git - strace/commit
rtnl_neightbl: enhance decoding of struct ndt_stats
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 1 Sep 2017 08:41:08 +0000 (08:41 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 1 Sep 2017 08:41:08 +0000 (08:41 +0000)
commitb738f44a524772498bb08093eb109d38b6510355
treeb06a4bd543f2fbcd1e8db5bffe14369621666ebe
parentbf1a463c7924fb0ec1715e026ca51b63970a04a8
rtnl_neightbl: enhance decoding of struct ndt_stats

Add support of kernels that operate with older definition of
struct ndt_stats than the definition used to build strace.

* rtnl_neightbl.c (decode_ndt_stats): Add runtime detection
of struct ndt_stats.ndts_table_fulls field, print the field
when it is available.
rtnl_neightbl.c