diff options
| author | luwenpeng <[email protected]> | 2022-12-19 14:14:30 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2022-12-23 13:56:19 +0800 |
| commit | 42dded52ac976619359239e477f495f3fefd47ad (patch) | |
| tree | 3d924830429c9ebdb0adcaa3112d966f0c3492d3 /platform/src/proxy.cpp | |
| parent | c1d9a1ab0f6a0057c93818a6593f2e64e6bda9e5 (diff) | |
TSG-13075 TFE的Decrypted Traffic Steering功能增加第三方设备保活检查
Diffstat (limited to 'platform/src/proxy.cpp')
| -rw-r--r-- | platform/src/proxy.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/src/proxy.cpp b/platform/src/proxy.cpp index a162e23..31fcf97 100644 --- a/platform/src/proxy.cpp +++ b/platform/src/proxy.cpp @@ -50,6 +50,7 @@ #include <watchdog_kni.h> #include <watchdog_tfe.h> #include <key_keeper.h> +#include <watchdog_3rd_device.h> /* Breakpad */ #include <MESA/breakpad_mini.h> @@ -696,6 +697,10 @@ int main(int argc, char * argv[]) g_default_proxy->watchdog_tfe = watchdog_tfe_create(g_default_proxy, main_profile, g_default_logger); CHECK_OR_EXIT(g_default_proxy->watchdog_tfe != NULL, "Failed at creating TFE watchdog, Exit."); + /* Watchdog 3rd device */ + g_default_proxy->watchdog_3rd_device = watchdog_3rd_device_create(g_default_proxy, main_profile, g_default_logger); + CHECK_OR_EXIT(g_default_proxy->watchdog_3rd_device != NULL, "Failed at creating 3rd device watchdog, Exit."); + TFE_LOG_ERROR(g_default_logger, "Tango Frontend Engine initialized, Version: %s.", __tfe_version); /* If TFE is run by systemd's notify, then tell the systemd our tfe is ready. |
