projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b44e0a
)
hostapd: fix config change detection on boolean values
author
Felix Fietkau
<nbd@nbd.name>
Sun, 3 Sep 2023 07:51:08 +0000
(09:51 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Sun, 3 Sep 2023 07:51:08 +0000
(09:51 +0200)
Check for null instead of truish value
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/files/common.uc
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/files/common.uc
b/package/network/services/hostapd/files/common.uc
index 9ece3b1af2ea1b545a8cf07031770e96d75887be..74c07855c958487cee27956ff8f6191e095781fa 100644
(file)
--- a/
package/network/services/hostapd/files/common.uc
+++ b/
package/network/services/hostapd/files/common.uc
@@
-150,7
+150,7
@@
function is_equal(val1, val2) {
if (!is_equal(val1[key], val2[key]))
return false;
for (let key in val2)
- if (
!val1[key]
)
+ if (
val1[key] == null
)
return false;
return true;
} else {