Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
virtio: fast TAP interfaces with vhost-net backend
[vpp.git]
/
src
/
vlib
/
cli.c
diff --git
a/src/vlib/cli.c
b/src/vlib/cli.c
index
9e14bee
..
48cf042
100644
(file)
--- a/
src/vlib/cli.c
+++ b/
src/vlib/cli.c
@@
-333,7
+333,8
@@
done:
clib_bitmap_free (match_bitmap);
unformat_free (&input);
- vec_sort_with_function (result, vlib_cli_cmp_strings);
+ if (result)
+ vec_sort_with_function (result, vlib_cli_cmp_strings);
return result;
}