mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-06 06:46:54 +08:00
update 2025-03-19 00:28:18
This commit is contained in:
@@ -490,7 +490,7 @@ int config_get_appfilter_enable(void)
|
|||||||
int enable = 0;
|
int enable = 0;
|
||||||
struct uci_context *ctx = uci_alloc_context();
|
struct uci_context *ctx = uci_alloc_context();
|
||||||
if (!ctx)
|
if (!ctx)
|
||||||
return NULL;
|
return -1;
|
||||||
enable = af_uci_get_int_value(ctx, "appfilter.global.enable");
|
enable = af_uci_get_int_value(ctx, "appfilter.global.enable");
|
||||||
if (enable < 0)
|
if (enable < 0)
|
||||||
enable = 0;
|
enable = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user