3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

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

View File

@ -5784,7 +5784,7 @@ static void print_rtnl_attributes(int indent, const struct attr_entry *table,
printf("missing function\n"); printf("missing function\n");
break; break;
case ATTR_STRING: case ATTR_STRING:
print_attr(indent, "%s: %s", str, print_attr(indent, "%s (len:%d): %s", str, payload,
(char *) RTA_DATA(attr)); (char *) RTA_DATA(attr));
break; break;
case ATTR_U8: case ATTR_U8: