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:
d63cb89
)
fw4: fix wrong `parse_network()` return value on `parse_subnet()` failure
author
Jo-Philipp Wich
<jo@mein.io>
Wed, 26 Jan 2022 11:00:21 +0000
(12:00 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Wed, 26 Jan 2022 11:00:21 +0000
(12:00 +0100)
Ref: https://forum.openwrt.org/t/x/118427
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
root/usr/share/ucode/fw4.uc
patch
|
blob
|
history
diff --git
a/root/usr/share/ucode/fw4.uc
b/root/usr/share/ucode/fw4.uc
index 8a549e16947cb623398a1fa9d9256276e5b6d8bd..8564ca5ef2ebd2cc24ad606f36eaae2782191330 100644
(file)
--- a/
root/usr/share/ucode/fw4.uc
+++ b/
root/usr/share/ucode/fw4.uc
@@
-991,7
+991,7
@@
return {
let nets = this.parse_subnet(rv.val);
if (nets === null)
- return
false
;
+ return
null
;
if (length(nets))
rv.addrs = [ ...nets ];