diff options
Diffstat (limited to 'filter/filter.c')
-rw-r--r-- | filter/filter.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/filter/filter.c b/filter/filter.c index b88039fb..ec155ee6 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -164,6 +164,11 @@ val_compare(struct f_val v1, struct f_val v2) } } +int +tree_compare(const void *p1, const void *p2) +{ + return val_compare((* (struct f_tree **) p1)->from, (* (struct f_tree **) p2)->from); +} void f_prefix_get_bounds(struct f_prefix *px, int *l, int *h) |