From: Felix Fietkau Date: Sun, 3 Sep 2023 07:51:08 +0000 (+0200) Subject: hostapd: fix config change detection on boolean values X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d65354488d2ff9187907c92c7f30e3072441ed83;p=openwrt%2Fstaging%2Fansuel.git hostapd: fix config change detection on boolean values Check for null instead of truish value Signed-off-by: Felix Fietkau --- 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 {