Flow expiry: Remove all references to OFPC_SEND_FLOW_EXP

This commit is contained in:
Glen Gibb authored and Mikio Hara committed 2009-06-29 07:03:06 -07:00
1 parent a00b917457
commit c6f1379fff
5 files changed
+3 -13

No files matched your search

+1 -1
View File
@@ -347,7 +347,7 @@ 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->flags = 0;
osc->miss_send_len = htons(OFP_DEFAULT_MISS_SEND_LEN);
queue_tx(sw, rconn, b);
-4
View File
@@ -589,10 +589,6 @@ ofp_print_switch_config(struct ds *string, const void *oh, size_t len UNUSED,
uint16_t flags;
flags = ntohs(osc->flags);
if (flags & OFPC_SEND_FLOW_EXP) {
flags &= ~OFPC_SEND_FLOW_EXP;
ds_put_format(string, " (sending flow expirations)");
}
if (flags) {
ds_put_format(string, " ***unknown flags 0x%04"PRIx16"***", flags);
}