X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fconnmgr.c;h=9bc189793bc838a08015d71ae378fc817488be98;hb=32260212a0687b6d14544a93a17363683bf41ea5;hp=0058309b4fa1e76c1f8900c210193b2b8f68527d;hpb=527ae97e8ea064c2838c5fed4eb71a43c0bd4367;p=sliver-openvswitch.git diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c index 0058309b4..9bc189793 100644 --- a/ofproto/connmgr.c +++ b/ofproto/connmgr.c @@ -1534,7 +1534,8 @@ connmgr_send_flow_removed(struct connmgr *mgr, static enum ofp_packet_in_reason wire_reason(struct ofconn *ofconn, const struct ofproto_packet_in *pin) { - if (pin->generated_by_table_miss && pin->up.reason == OFPR_ACTION) { + if (pin->miss_type == OFPROTO_PACKET_IN_MISS_FLOW + && pin->up.reason == OFPR_ACTION) { enum ofputil_protocol protocol = ofconn_get_protocol(ofconn); if (protocol != OFPUTIL_P_NONE