Closed patrakov closed 1 year ago
I have a workaround: instead of ping_prefix_string="mwan3 use lte exec"
, I can use ping_extra_args="-f 768"
.
Do you think we should change the code to accommodate this? If so, I wonder if you could issue a pull request?
Not sure if I have enough time for a pull request.
I have an idea for a fix, just give me a few moments.
Yay - thanks a lot @rany2!
@rany2 are you still intending to try to fix this?
@lynxthecat yes, just too busy with other things and forgot about this.
Some time ago, the code was changed to pass
--machine-readable=' '
argument to tsping. Unfortunately, themwan3 use lte exec
wrapper (prefix command) mangles this. It is a bug inmwan3
, but bugs there are never fixed. So please try to avoid triggering it. In other words, please try to avoid the need for any special characters that need quoting or otherwise cannot pass through the$*
construct, such as spaces. Maybe use $IFS that includes the comma when parsing.