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
parent 1814016eb7
commit 5eaf397a94
5 changed files with 80 additions and 28 deletions

View file

@ -176,6 +176,7 @@ public:
switch((ZT_VirtualNetworkRuleType)(rules[i].t & 0x7f)) {
//case ZT_NETWORK_RULE_ACTION_DROP:
//case ZT_NETWORK_RULE_ACTION_ACCEPT:
//case ZT_NETWORK_RULE_ACTION_DEBUG_LOG:
default:
b.append((uint8_t)0);
break;