Fix broken hex notation

This commit is contained in:
jsteube
2018-07-26 11:41:56 +02:00
parent 88ebca40b8
commit 9d43111730
3 changed files with 20 additions and 12 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ int conv_itoc (const u8 c);
int generate_random_rule (char rule_buf[RP_RULE_SIZE], const u32 rp_gen_func_min, const u32 rp_gen_func_max);
bool is_hex_notation (char *rule_buf, u32 rule_len, u32 rule_pos);
bool is_hex_notation (const char *rule_buf, u32 rule_len, u32 rule_pos);
int cpu_rule_to_kernel_rule (char *rule_buf, u32 rule_len, kernel_rule_t *rule);
int kernel_rule_to_cpu_rule (char *rule_buf, kernel_rule_t *rule);