Merge commit 'origin/citrix'
[sliver-openvswitch.git] / lib / vconn.c
index 3210923..aed1880 100644 (file)
@@ -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) {