Adjust tcp-proxy makefile to support metrics

There's no way to get the metrics yet. Someone will
have to add the http service.
This commit is contained in:
travisladuke 2023-07-17 12:12:18 -07:00 committed by Travis LaDuke
parent 19f1f02d91
commit 60ddca1354
2 changed files with 8 additions and 1 deletions

View file

@ -42,8 +42,13 @@
#include <vector>
#define ZT_NO_METRICS 1
#include "../osdep/Phy.hpp"
#ifndef ZT_NO_METRICS
#include "../node/Metrics.hpp"
#endif
#define ZT_TCP_PROXY_CONNECTION_TIMEOUT_SECONDS 300
#define ZT_TCP_PROXY_TCP_PORT 443