Re: [PATCH] options: fix parsing of boolean attributes

2020-08-20 Thread Henrique de Moraes Holschuh
On 19/08/2020 21:34, Rémi NGUYEN VAN wrote: I see this is getting mixed with other patches, so to be clear this is a patch for firewall3 (see https://bugs.openwrt.org/index.php?do=details&task_id=3284). Let me know if there is a better place to post this. Use "[PATCH] fw3: " (or "firewall3: ...

Re: [PATCH] options: fix parsing of boolean attributes

2020-08-19 Thread Rémi NGUYEN VAN
I see this is getting mixed with other patches, so to be clear this is a patch for firewall3 (see https://bugs.openwrt.org/index.php?do=details&task_id=3284). Let me know if there is a better place to post this. Le sam. 15 août 2020 à 13:50, a écrit : > > From: Remi NGUYEN VAN > > Boolean attri

[PATCH] options: fix parsing of boolean attributes

2020-08-14 Thread remi . nguyenvan
From: Remi NGUYEN VAN Boolean attributes were parsed the same way as string attributes, so a value of { "bool_attr": "true" } would be parsed correctly, but { "bool_attr": true } (without quotes) was parsed as false. Fixes FS#3284 Signed-off-by: Remi NGUYEN VAN --- options.c | 6 ++ 1 fil