mirror of
https://github.com/kenzok8/small-package.git
synced 2026-02-05 22:36:13 +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;
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user