monitor: Print string length of rtnl attributes

This commit is contained in:
Denis Kenzior 2019-07-23 09:22:57 -05:00
parent 140c626a4b
commit c47fee2e78
1 changed files with 1 additions and 1 deletions

View File

@ -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: