From c47fee2e78268804b6cb69c454b8fddb05f68dd8 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 23 Jul 2019 09:22:57 -0500 Subject: [PATCH] monitor: Print string length of rtnl attributes --- monitor/nlmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/nlmon.c b/monitor/nlmon.c index f92cb612..0e923e96 100644 --- a/monitor/nlmon.c +++ b/monitor/nlmon.c @@ -5784,7 +5784,7 @@ static void print_rtnl_attributes(int indent, const struct attr_entry *table, printf("missing function\n"); break; case ATTR_STRING: - print_attr(indent, "%s: %s", str, + print_attr(indent, "%s (len:%d): %s", str, payload, (char *) RTA_DATA(attr)); break; case ATTR_U8: