|
|
|
|
@ -70,6 +70,8 @@ static uint32_t parse_debug_categories(const char *value) {
|
|
|
|
|
categories |= DEBUG_CATEGORY_TRAFFIC; |
|
|
|
|
} else if (strstr(token, "debug")) { |
|
|
|
|
categories |= DEBUG_CATEGORY_DEBUG; |
|
|
|
|
} else if (strstr(token, "general")) { |
|
|
|
|
categories |= DEBUG_CATEGORY_GENERAL; |
|
|
|
|
} else if (strstr(token, "all")) { |
|
|
|
|
categories |= DEBUG_CATEGORY_ALL; |
|
|
|
|
} else if (strstr(token, "none")) { |
|
|
|
|
|