mirror of
https://github.com/xdp-project/bpf-examples.git
synced 2024-05-06 15:54:53 +00:00
The parse_arguments() function used to have a separate variable for each float (or rather a double) value it would parse from the user. As only one argument will be parsed at the time this is redudant and will require more and more variables as new options are added. Replace all these variables with a single "user_float", which is used for all options that parse a float from the user. Signed-off-by: Simon Sundberg <simon.sundberg@kau.se>
32 KiB
32 KiB