diff options
author | Laura Garcia Liebana <nevola@gmail.com> | 2016-09-13 13:50:41 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-09-22 16:37:16 +0200 |
commit | 7898b0fb2018ecec894e8bf6cf1c1102a7b4c9ee (patch) | |
tree | 67ab1026b0bb776bacf0c38dfdefdc1401c05431 /tests/jsonfiles/60-rule-real.json | |
parent | 5877cc62d9bd1c7183992a2d05dd82d17ed12097 (diff) |
expr: numgen: add number generation offset
Add support to pass through an offset value to the counter
initialization. With this feature, the sysadmin is able to apply a value
to be added to the generated number.
Example:
meta mark set numgen inc mod 2 offset 100
This will generate marks with series 100, 101, 100, 101, ...
Suggested-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/jsonfiles/60-rule-real.json')
0 files changed, 0 insertions, 0 deletions