Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix IPv6 NDP and bridge BVI and restore NDP and ARP when BVI move is changed.
[vpp.git]
/
vlib
/
vlib
/
parse.c
diff --git
a/vlib/vlib/parse.c
b/vlib/vlib/parse.c
index
844be8a
..
cea8f75
100644
(file)
--- a/
vlib/vlib/parse.c
+++ b/
vlib/vlib/parse.c
@@
-965,8
+965,7
@@
static clib_error_t * parse_init (vlib_main_t *vm)
}
vec_free (bounds);
- vec_sort (pm->parse_registrations, r1, r2,
- rule_length_compare (r1[0], r2[0]));
+ vec_sort_with_function (pm->parse_registrations, rule_length_compare);
for (i = 0; i < vec_len (pm->parse_registrations); i++)
{