projects
/
project
/
firewall4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be5f4e3
)
main.uc: fix device gathering
author
Stijn Tintel
<stijn@linux-ipv6.be>
Thu, 6 Jan 2022 14:27:37 +0000
(16:27 +0200)
committer
Stijn Tintel
<stijn@linux-ipv6.be>
Thu, 6 Jan 2022 14:31:24 +0000
(16:31 +0200)
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>
root/usr/share/firewall4/main.uc
patch
|
blob
|
history
diff --git
a/root/usr/share/firewall4/main.uc
b/root/usr/share/firewall4/main.uc
index 141ba013d4463a69f74d5a2ed1993b17bbd8dfa4..d7dfdb0ca2446613e4f3b92547048674d65aef6e 100644
(file)
--- 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);