From d65354488d2ff9187907c92c7f30e3072441ed83 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Sep 2023 09:51:08 +0200 Subject: [PATCH] hostapd: fix config change detection on boolean values Check for null instead of truish value Signed-off-by: Felix Fietkau --- package/network/services/hostapd/files/common.uc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2