mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-05 12:36:14 -07:00
remove ZT_NO_METRIC ifdef
This commit is contained in:
parent
60ddca1354
commit
50ede37a58
2 changed files with 0 additions and 8 deletions
|
@ -50,9 +50,7 @@
|
|||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
|
||||
#ifndef ZT_NO_METRICS
|
||||
#include "../node/Metrics.hpp"
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) || defined(linux) || defined(__LINUX__) || defined(__linux)
|
||||
#ifndef IPV6_DONTFRAG
|
||||
|
@ -478,9 +476,7 @@ public:
|
|||
sizeof(struct sockaddr_in)) == (long)len);
|
||||
#endif
|
||||
if (sent) {
|
||||
#ifndef ZT_NO_METRICS
|
||||
Metrics::udp_send += len;
|
||||
#endif
|
||||
}
|
||||
|
||||
return sent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue