projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d637497
)
ovs-testcontroller: Fix priority of non table-miss flow entries.
author
Jean Tourrilhes
<jean.tourrilhes@hp.com>
Fri, 31 Oct 2014 20:46:43 +0000
(13:46 -0700)
committer
Ben Pfaff
<blp@nicira.com>
Wed, 5 Nov 2014 00:33:40 +0000
(16:33 -0800)
Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com>
lib/learning-switch.c
patch
|
blob
|
history
diff --git
a/lib/learning-switch.c
b/lib/learning-switch.c
index
e3b48d5
..
2b7495c
100644
(file)
--- a/
lib/learning-switch.c
+++ b/
lib/learning-switch.c
@@
-660,7
+660,7
@@
process_packet_in(struct lswitch *sw, const struct ofp_header *oh)
memset(&fm, 0, sizeof fm);
match_init(&fm.match, &flow, &sw->wc);
ofputil_normalize_match_quiet(&fm.match);
- fm.priority =
0;
+ fm.priority =
1; /* Must be > 0 because of table-miss flow entry. */
fm.table_id = 0xff;
fm.command = OFPFC_ADD;
fm.idle_timeout = sw->max_idle;