diff options
author | Jiri Pirko <[email protected]> | 2024-02-22 14:43:49 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-02-23 18:16:43 -0800 |
commit | ac95b1fca034d50d42a058a9476e0fe555653d0d (patch) | |
tree | 759c7e93be2bf27af84648519d489aee08cb9af4 /scripts/generate_rust_analyzer.py | |
parent | 5c4e0f3ae45e82fa125c5a9c7c25e7df9a6b98ec (diff) |
tools: ynl: allow user to specify flag attr with bool values
The flag attr presence in Netlink message indicates value "true",
if it is missing in the message it means "false".
Allow user to specify attrname with value "true"/"false"
in json for flag attrs, treat "false" value properly.
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Donald Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions