summaryrefslogtreecommitdiff
path: root/platform/src/verify_policy.cpp
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2024-10-30 16:43:49 +0800
committerfengweihao <[email protected]>2024-10-30 16:43:49 +0800
commitb62c1037f6efe5836653ced8a93ccce22bdfb79a (patch)
tree451db7c55394611ec30065c2d0852694a4e3c1bd /platform/src/verify_policy.cpp
parentfaa531da8c896c8f10b3700f71d6667905884b06 (diff)
TSG-22949 Distinguish between source and destination when acquiring tag for ip address TSG-23127 Adapt VerifyPolicy to interface structure changes.
Diffstat (limited to 'platform/src/verify_policy.cpp')
-rw-r--r--platform/src/verify_policy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/src/verify_policy.cpp b/platform/src/verify_policy.cpp
index fad532d..fd34359 100644
--- a/platform/src/verify_policy.cpp
+++ b/platform/src/verify_policy.cpp
@@ -186,8 +186,8 @@ void * verify_policy_thread_func(void * arg)
goto error;
}
- evhttp_set_cb(thread->http, "/v1/policy/trouble_shooting/policy_verification", verify_policy_request_cb, thread);
- evhttp_set_cb(thread->http, "/v1/policy/trouble_shooting/library_search", library_search_request_cb, thread);
+ evhttp_set_cb(thread->http, "/v1/policies/trouble-shooting/policy-verification", verify_policy_request_cb, thread);
+ evhttp_set_cb(thread->http, "/v1/policies/trouble-shooting/library-search", library_search_request_cb, thread);
bound = evhttp_accept_socket_with_handle(thread->http, thread->accept_fd);
if (bound == NULL)