[tr064] fix wanBlockByIP channel and improvements to parameter handling (#9655)

- fix wanBlockByIP channel
- allow comments in parameter lists
- fix compiler warnings

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
J-N-K
2021-01-03 02:52:15 +01:00
committed by GitHub
parent 270f7b645d
commit b4b8dd2117
5 changed files with 19 additions and 30 deletions

View File

@@ -151,6 +151,10 @@ Advanced channels appear only if the corresponding parameters are set in the Thi
| `wanTotalBytesSent` | `Number:DataAmount` | x | Total Bytes Sent |
Parameters that accept lists (e.g. `macOnline`, `wanBlockIPs`) can contain comments.
Comments are separated from the value with a '#' (e.g. `192.168.0.77 # Daughter's iPhone`).
The full string is used for the channel label.
### Channel `callList`
Call lists are provided for one or more days (as configured) as JSON.