summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStijn Tintel2022-01-06 14:27:37 +0000
committerStijn Tintel2022-01-06 14:31:24 +0000
commitb68cf67019452527d6a5a967b823a39dd1ba1edd (patch)
tree2e40c0cd322d90a4a8ed1541e484d804ac717636
parentbe5f4e33c6388935651e6a87c4e5348ade0bd714 (diff)
downloadfirewall4-b68cf67019452527d6a5a967b823a39dd1ba1edd.tar.gz
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 <stijn@linux-ipv6.be>
-rw-r--r--root/usr/share/firewall4/main.uc2
1 files changed, 1 insertions, 1 deletions
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);