Add a debug log feature in the filter, which only works if enabled in Network.cpp.

This commit is contained in:
Adam Ierymenko 2016-08-25 13:31:23 -07:00
commit 5eaf397a94
5 changed files with 80 additions and 28 deletions

View file

@ -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
/**