summaryrefslogtreecommitdiff
path: root/src/rtnl_netconf.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2021-06-14 08:03:00 +0000
committerDmitry V. Levin <ldv@strace.io>2021-06-14 08:03:00 +0000
commite6233f81b90b251e7531738289deed753af485f2 (patch)
treedf682aa06e6303003cd93e95a78c54194d226d75 /src/rtnl_netconf.c
parent1420aa8b5f99043dc32d5765dc221192bc9f6034 (diff)
downloadstrace-e6233f81b90b251e7531738289deed753af485f2.tar.gz
rtnl_netconf: use print_fields.h helpers
* src/rtnl_netconf.c (decode_netconfmsg): Use tprint_array_next.
Diffstat (limited to 'src/rtnl_netconf.c')
-rw-r--r--src/rtnl_netconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtnl_netconf.c b/src/rtnl_netconf.c
index 2edcc221c..2c01e9c45 100644
--- a/src/rtnl_netconf.c
+++ b/src/rtnl_netconf.c
@@ -38,7 +38,7 @@ DECL_NETLINK_ROUTE_DECODER(decode_netconfmsg)
const size_t offset = NLMSG_ALIGN(sizeof(ncm));
if (len > offset) {
- tprints(", ");
+ tprint_array_next();
decode_nlattr(tcp, addr + offset, len - offset,
rtnl_netconf_attrs, "NETCONFA_???",
netconfmsg_nla_decoders,