diff options
| author | liuxueli <[email protected]> | 2022-05-18 11:41:41 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2022-05-18 11:41:41 +0800 |
| commit | 4899c9e96aa9edef9b50a8e274f9bb0cfc16056b (patch) | |
| tree | 09da5f10b72ca512a1b0cd29e72575c7afcaeca5 /src/tsg_rule.cpp | |
| parent | f7c0f018be16586ed877aa02a6554a9fa453994f (diff) | |
TSG-10006: 兼容三、四级(N)地址库
Diffstat (limited to 'src/tsg_rule.cpp')
| -rw-r--r-- | src/tsg_rule.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tsg_rule.cpp b/src/tsg_rule.cpp index f0989ee..23acd97 100644 --- a/src/tsg_rule.cpp +++ b/src/tsg_rule.cpp @@ -2930,3 +2930,8 @@ int tsg_set_fqdn_category_id(const struct streaminfo *a_stream, unsigned int *ca return 0; } + +int tsg_get_location_type(void) +{ + return g_tsg_para.location_field_num; +} |
