Commit b230de21 authored by Guillaume Quintard's avatar Guillaume Quintard Committed by Martin Blix Grydeland

Limit the grouping method

parent 238d27c5
......@@ -381,6 +381,12 @@ main(int argc, char **argv)
usage(1);
}
}
/* Check for valid grouping mode */
assert(VUT.g_arg < VSL_g__MAX);
if (VUT.g_arg != VSL_g_vxid && VUT.g_arg != VSL_g_request)
VUT_Error(1, "Invalid grouping mode: %s (only vxid and request are supported)",
VSLQ_grouping[VUT.g_arg]);
if (profile) {
for (active_profile = profiles; active_profile->name;
active_profile++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment