X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Flearning-switch.c;h=c4ab48fa371454b7c7e5329a39ac205a6e829acf;hb=600c9d5950dfdcd98699497793087899dbe2e8cf;hp=ecfa87f6076853cb193117b83dfc59c37b591a83;hpb=70e7beba72bdc725cab33ba84f2052588e91f8df;p=sliver-openvswitch.git diff --git a/lib/learning-switch.c b/lib/learning-switch.c index ecfa87f60..c4ab48fa3 100644 --- a/lib/learning-switch.c +++ b/lib/learning-switch.c @@ -283,8 +283,8 @@ lswitch_process_packet(struct lswitch *sw, struct rconn *rconn, process_stats_reply }, { - OFPT_FLOW_EXPIRED, - sizeof(struct ofp_flow_expired), + OFPT_FLOW_REMOVED, + sizeof(struct ofp_flow_removed), NULL }, }; @@ -337,7 +337,6 @@ send_features_request(struct lswitch *sw, struct rconn *rconn) /* Send OFPT_SET_CONFIG. */ osc = make_openflow(sizeof *osc, OFPT_SET_CONFIG, &b); - osc->flags = htons(OFPC_SEND_FLOW_EXP); osc->miss_send_len = htons(OFP_DEFAULT_MISS_SEND_LEN); queue_tx(sw, rconn, b);