Add a break action to rules engine to make capabilities easier to use.

This commit is contained in:
Adam Ierymenko 2017-02-06 14:00:49 -08:00
parent 435e4c4695
commit 9ddc2a4331
2 changed files with 6 additions and 7 deletions

View file

@ -563,9 +563,9 @@ enum ZT_VirtualNetworkRuleType
ZT_NETWORK_RULE_ACTION_REDIRECT = 4,
/**
* Log if match and if rule debugging is enabled in the build, otherwise does nothing (for developers)
* Stop evaluating rule set (drops unless there are capabilities, etc.)
*/
ZT_NETWORK_RULE_ACTION_DEBUG_LOG = 5,
ZT_NETWORK_RULE_ACTION_BREAK = 5,
/**
* Maximum ID for an ACTION, anything higher is a MATCH