Adding RULE_OP_MANGLE_NUM_INCR to src/rp.c

pull/3850/head
Arseniy Sharoglazov 9 months ago
parent e0675f2425
commit 492f8b0d6d

@ -31,6 +31,7 @@ static const char grp_op_nop[] =
RULE_OP_MANGLE_SWITCH_LAST,
RULE_OP_MANGLE_DUPECHAR_ALL,
RULE_OP_MANGLE_TITLE,
RULE_OP_MANGLE_NUM_INCR,
};
static const char grp_op_pos_p0[] =
@ -284,6 +285,10 @@ int cpu_rule_to_kernel_rule (char *rule_buf, u32 rule_len, kernel_rule_t *rule)
SET_NAME (rule, rule_buf[rule_pos]);
break;
case RULE_OP_MANGLE_NUM_INCR:
SET_NAME (rule, rule_buf[rule_pos]);
break;
case RULE_OP_MANGLE_TOGGLE_AT:
SET_NAME (rule, rule_buf[rule_pos]);
SET_P0_CONV (rule, rule_buf[rule_pos]);

Loading…
Cancel
Save