Skip to content
Snippets Groups Projects
Commit 057708a9 authored by Liang Chen's avatar Liang Chen Committed by Paolo Abeni
Browse files

pktgen: Automate flag enumeration for unknown flag handling


When specifying an unknown flag, it will print all available flags.
Currently, these flags are provided as fixed strings, which requires
manual updates when flags change. Replacing it with automated flag
enumeration.

Signed-off-by: default avatarLiang Chen <liangchen.linux@gmail.com>
Signed-off-by: default avatarBenjamin Poirier <bpoirier@nvidia.com>
Link: https://lore.kernel.org/r/20230920125658.46978-1-liangchen.linux@gmail.com


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 19f5eef8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment