Skip to content
Snippets Groups Projects
Unverified Commit 7f65c501 authored by GyDi's avatar GyDi
Browse files

feat: add sub-rules

parent 22c23827
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ pub const DEFAULT_FIELDS: [&str; 5] = [ ...@@ -20,7 +20,7 @@ pub const DEFAULT_FIELDS: [&str; 5] = [
"rule-providers", "rule-providers",
]; ];
pub const OTHERS_FIELDS: [&str; 20] = [ pub const OTHERS_FIELDS: [&str; 21] = [
"tun", "tun",
"dns", "dns",
"ebpf", "ebpf",
...@@ -39,6 +39,7 @@ pub const OTHERS_FIELDS: [&str; 20] = [ ...@@ -39,6 +39,7 @@ pub const OTHERS_FIELDS: [&str; 20] = [
"bind-address", "bind-address",
"authentication", "authentication",
"sniffer", // meta "sniffer", // meta
"sub-rules", // meta
"geodata-mode", // meta "geodata-mode", // meta
"tcp-concurrent", // meta "tcp-concurrent", // meta
]; ];
......
...@@ -37,6 +37,7 @@ export const OTHERS_FIELDS = [ ...@@ -37,6 +37,7 @@ export const OTHERS_FIELDS = [
"bind-address", "bind-address",
"authentication", "authentication",
"sniffer", // meta "sniffer", // meta
"sub-rules", // meta
"geodata-mode", // meta "geodata-mode", // meta
"tcp-concurrent", // meta "tcp-concurrent", // meta
] as const; ] as const;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment