diff options
| author | Felix Fietkau <nbd@nbd.name> | 2023-09-03 09:51:08 +0200 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2023-09-03 09:51:08 +0200 |
| commit | d65354488d2ff9187907c92c7f30e3072441ed83 (patch) | |
| tree | c00b8503aea3399d480a0a8fcb3317249d5f7402 /package/network | |
| parent | 3b44e0a4c102d52a6c81451d1a2fd62d7405cc01 (diff) | |
hostapd: fix config change detection on boolean values
Check for null instead of truish value
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network')
| -rw-r--r-- | package/network/services/hostapd/files/common.uc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/common.uc b/package/network/services/hostapd/files/common.uc index 9ece3b1af2..74c07855c9 100644 --- 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 { |
