git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
match: New function minimatch_matches_flow().
[sliver-openvswitch.git]
/
lib
/
classifier.c
diff --git
a/lib/classifier.c
b/lib/classifier.c
index
36eb1f0
..
89f56b6
100644
(file)
--- a/
lib/classifier.c
+++ b/
lib/classifier.c
@@
-668,8
+668,7
@@
find_match(const struct cls_table *table, const struct flow *flow)
struct cls_rule *rule;
HMAP_FOR_EACH_WITH_HASH (rule, hmap_node, hash, &table->rules) {
- if (miniflow_equal_flow_in_minimask(&rule->match.flow, flow,
- &table->mask)) {
+ if (minimatch_matches_flow(&rule->match, flow)) {
return rule;
}
}