Add a debug log feature in the filter, which only works if enabled in Network.cpp.
This commit is contained in:
parent
1814016eb7
commit
5eaf397a94
5 changed files with 80 additions and 28 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue