diff options
| author | Stijn Tintel | 2022-01-06 14:27:37 +0000 |
|---|---|---|
| committer | Stijn Tintel | 2022-01-06 14:31:24 +0000 |
| commit | b68cf67019452527d6a5a967b823a39dd1ba1edd (patch) | |
| tree | 2e40c0cd322d90a4a8ed1541e484d804ac717636 | |
| parent | be5f4e33c6388935651e6a87c4e5348ade0bd714 (diff) | |
| download | firewall4-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.uc | 2 |
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); |