From 5eaf397a948923d3de68763c972be7ae8c83132d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 25 Aug 2016 13:31:23 -0700 Subject: Add a debug log feature in the filter, which only works if enabled in Network.cpp. --- include/ZeroTierOne.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/ZeroTierOne.h b/include/ZeroTierOne.h index 4c0da76d..1d7620d4 100644 --- a/include/ZeroTierOne.h +++ b/include/ZeroTierOne.h @@ -515,6 +515,11 @@ enum ZT_VirtualNetworkRuleType */ ZT_NETWORK_RULE_ACTION_REDIRECT = 3, + /** + * Log if match and if rule debugging is enabled in the build, otherwise does nothing (for developers) + */ + ZT_NETWORK_RULE_ACTION_DEBUG_LOG = 4, + // 32 to 127 reserved for match criteria /** -- cgit v1.2.3