update 2025-03-19 00:28:18

This commit is contained in:
kenzok8 2025-03-19 00:28:18 +08:00
parent d4780f1016
commit f2ca0a9f64

View File

@ -490,7 +490,7 @@ int config_get_appfilter_enable(void)
int enable = 0;
struct uci_context *ctx = uci_alloc_context();
if (!ctx)
return NULL;
return -1;
enable = af_uci_get_int_value(ctx, "appfilter.global.enable");
if (enable < 0)
enable = 0;