Commit 0ce9f6f2 authored by John Stebbins's avatar John Stebbins

fix filename sorting in mpls_dump

parent 4e643863
......@@ -531,8 +531,8 @@ _usage(char *cmd)
static int
_qsort_str_cmp(const void *a, const void *b)
const char *stra = (const char *)a;
const char *strb = (const char *)b;
const char *stra = *(char * const *)a;
const char *strb = *(char * const *)b;
return strcmp(stra, strb);
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