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
Merge commit 'origin/citrix'
[sliver-openvswitch.git]
/
lib
/
vconn.c
diff --git
a/lib/vconn.c
b/lib/vconn.c
index
3210923
..
aed1880
100644
(file)
--- a/
lib/vconn.c
+++ b/
lib/vconn.c
@@
-1230,7
+1230,7
@@
check_action(const union ofp_action *a, unsigned int len, int max_ports)
{
int error;
- switch (
a->type
) {
+ switch (
ntohs(a->type)
) {
case OFPAT_OUTPUT:
error = check_action_port(ntohs(a->output.port), max_ports);
if (error) {