summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-25 13:31:23 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-25 13:31:23 -0700
commit5eaf397a948923d3de68763c972be7ae8c83132d (patch)
treedc507ddff98ae3d2aa8214fd65215c23d5e4bde9 /include
parent1814016eb75b87d6f28711f41ecdafab69e556ee (diff)
downloadinfinitytier-5eaf397a948923d3de68763c972be7ae8c83132d.tar.gz
infinitytier-5eaf397a948923d3de68763c972be7ae8c83132d.zip
Add a debug log feature in the filter, which only works if enabled in Network.cpp.
Diffstat (limited to 'include')
-rw-r--r--include/ZeroTierOne.h5
1 files changed, 5 insertions, 0 deletions
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
/**