From: Stijn Tintel Date: Thu, 6 Jan 2022 14:27:37 +0000 (+0200) Subject: main.uc: fix device gathering X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b68cf6701945;p=project%2Ffirewall4.git main.uc: fix device gathering While reworking the render_ruleset function to address review comments, the devices variable should have been changed to an array. Fix that. Fixes: 85b74f35e4a7 ("treewide: support flow offloading") Signed-off-by: Stijn Tintel --- diff --git a/root/usr/share/firewall4/main.uc b/root/usr/share/firewall4/main.uc index 141ba01..d7dfdb0 100644 --- a/root/usr/share/firewall4/main.uc +++ b/root/usr/share/firewall4/main.uc @@ -95,7 +95,7 @@ function reload_sets() { } function render_ruleset(use_statefile) { - let devices = {}; + let devices = []; fw4.load(use_statefile);