cfm: New 'cfm_opstate' setting.
[sliver-openvswitch.git] / ofproto / ofproto-dpif.c
index 9e8b1fb..1ffe36a 100644 (file)
@@ -1568,7 +1568,8 @@ port_run(struct ofport_dpif *ofport)
             ofpbuf_uninit(&packet);
         }
 
-        enable = enable && !cfm_get_fault(ofport->cfm);
+        enable = enable && !cfm_get_fault(ofport->cfm)
+            && cfm_get_opup(ofport->cfm);
     }
 
     if (ofport->bundle) {