commit c47fee2e78268804b6cb69c454b8fddb05f68dd8
parent 140c626a4bb6d5ea0b1ff2fda5f297d15fd88779
Author: Denis Kenzior <denkenz@gmail.com>
Date: Tue, 23 Jul 2019 09:22:57 -0500
monitor: Print string length of rtnl attributes
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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: