On Donnerstag, 15. September 2016 10:41:00 CEST Andreas Pape wrote:
The variable "optchar" used char instead of int leading to a non working batctl tp command as the while loop parsing the tp arguments with the getopt command is only left via the "default" case leaving the tp subcommand unusable. Using type char also lead to a compiler warning.
Signed-off-by: Andreas Pape apape@phoenixcontact.com Reviewed-by: Sven Eckelmann sven@narfation.org
tp_meter.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied in e397137aa9f4417ec21b4ba3db59b4f4e55b72fd [1]. The commit messages was slightly modified to (hopefully) make it more readable.
Kind regards, Sven
[1] https://git.open-mesh.org/batctl.git/commit/e397137aa9f4417ec21b4ba3db59b4f4...