replace "tail_module" with "tail-module" in json file parse

main
xiaosuGW 3 years ago
parent 0862bd248a
commit 5a03420071

@ -454,7 +454,7 @@ module_new_from_json(char *file_name)
} else {
panic("Expected active key to be a JSON boolean, was %s\n", val);
}
} else if (strcmp(key, "tail_module") == 0) {
} else if (strcmp(key, "tail-module") == 0) {
assert(tokens[i + j + 1].type == JSMN_PRIMITIVE);
if (val[0] == 't') {
is_tail_module = true;

Loading…
Cancel
Save