mirror of
https://github.com/kenzok8/small-package
synced 2025-04-04 03:01:27 +08:00
update 2025-03-19 00:28:18
This commit is contained in:
parent
d4780f1016
commit
f2ca0a9f64
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user