ofproto: Fix uninitialized field in ofputil_flow_update.
[sliver-openvswitch.git] / ofproto / ofproto.c
index 47cf22b..e3b24c1 100644 (file)
@@ -3550,6 +3550,7 @@ ofproto_compose_flow_refresh_update(const struct rule *rule,
     fu.cookie = rule->flow_cookie;
     minimatch_expand(&rule->cr.match, &match);
     fu.match = &match;
+    fu.priority = rule->cr.priority;
     if (!(flags & NXFMF_ACTIONS)) {
         fu.ofpacts = NULL;
         fu.ofpacts_len = 0;