Possible bug: host reachable condition does not work with variables.
For an example:
1. If you put in Host reachable condition ping option and address f.e. 192.168.1.100 it works without issue.
2. If you declare in script global or local variable s1=192.168.1.100 and then call in condition Host reachable condition using variable s1 instead of raw IP address it does not work.
Host reachable bug
Moderator: Martin
Re: Host reachable bug
I have tested it. Raw IP works, result in true (which what I used all this time). Using variable
ip = "1.1.1.1";
and then use {ip} in the host field, will result in true also.
But somehow in 10 tests, 2 times result in false, whether it is using raw IP or variable.
ip = "1.1.1.1";
and then use {ip} in the host field, will result in true also.
But somehow in 10 tests, 2 times result in false, whether it is using raw IP or variable.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Host reachable bug
Silly me. Forgot to put variable into {}. Now it works. . Thanks!